Class
HtmlResponsiveImageSelectionOptions
OfficeIMO.Html
Describes the deterministic media environment used to select one responsive image candidate.
Inheritance
- object
- HtmlResponsiveImageSelectionOptions
Usage
Explore 1 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.
Accepted by parameters 1
Constructors
public HtmlResponsiveImageSelectionOptions() #Inherited Methods
Properties
public double ViewportWidth { get; set; } #Viewport width in CSS pixels.
public double ViewportHeight { get; set; } #Viewport height in CSS pixels.
public double DevicePixelRatio { get; set; } #Target device-pixel density. The default is one device pixel per CSS pixel.
public HtmlCssMediaContext MediaContext { get; set; } #Media type used by conditions in the sizes list.
public HtmlRenderMediaFeatures MediaFeatures { get; set; } #Deterministic device and user-preference values used by media conditions.
public double DefaultFontSize { get; set; } #Root and initial font size used to resolve relative lengths in sizes.
public int? MaxCandidates { get; set; } #Optional cap applied while parsing source-set candidates.
public int? MaxSizesCharacters { get; set; } #Optional character cap applied before parsing a sizes value.