HtmlRenderMediaFeatures
OfficeIMO.Html
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
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Accepted by parameters 1
Constructors
public HtmlRenderMediaFeatures() #Methods
public HtmlRenderMediaFeatures Clone() #Creates an independent snapshot.
Returns
HtmlRenderMediaFeaturesInherited Methods
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 int ColorBitsPerComponent { get; set; } #Bits available per RGB color component. The default is 8.
public int 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.