API Reference

Class

HtmlRenderMediaFeatures

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Describes the deterministic device and user-preference values exposed to CSS media queries. Geometry and screen/print media type remain owned by HtmlRenderOptions.

Inheritance

  • Object
  • HtmlRenderMediaFeatures

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public HtmlRenderMediaFeatures Clone() #
Returns: HtmlRenderMediaFeatures

Creates an independent snapshot.

Properties

public HtmlPreferredColorScheme PreferredColorScheme { get; set; } #

Preferred light or dark color scheme. The default is light.

public HtmlReducedMotionPreference ReducedMotion { get; set; } #

Preferred motion behavior. Static output defaults to no explicit reduction preference.

public HtmlPointerCapability Pointer { get; set; } #

Primary pointer capability. Static output defaults to no pointer.

public HtmlPointerCapability AnyPointer { get; set; } #

Best available pointer capability. Static output defaults to no pointer.

public HtmlHoverCapability Hover { get; set; } #

Primary hover capability. Static output defaults to no hover state.

public HtmlHoverCapability AnyHover { get; set; } #

Best available hover capability. Static output defaults to no hover state.

public Int32 ColorBitsPerComponent { get; set; } #

Bits available per RGB color component. The default is 8.

public Int32 MonochromeBitsPerPixel { get; set; } #

Bits available per monochrome pixel. The default is zero for a color output.

public Double ResolutionDpi { get; set; } #

CSS output resolution in dots per inch. The default is 96.