HtmlCssLengthResolutionContext
OfficeIMO.Html.Css
Context used to resolve owned length and percentage expressions to CSS pixels.
Inheritance
- object
- HtmlCssLengthResolutionContext
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 HtmlCssLengthResolutionContext() #Inherited Methods
Properties
public double? PercentageReference { get; set; } #Length represented by 100% for the consuming property.
public double? FontSize { get; set; } #Computed element font size in CSS pixels.
public double? RootFontSize { get; set; } #Computed root font size in CSS pixels.
public bool UprightVerticalText { get; set; } #Whether text is upright in a vertical writing mode, requiring a 1em fallback for the ch unit.
public double? CharacterAdvance { get; set; } #Measured advance of the zero glyph in CSS pixels, when available.
public double? ViewportWidth { get; set; } #Default viewport width in CSS pixels. Specialized viewport sizes fall back to this value.
public double? ViewportHeight { get; set; } #Default viewport height in CSS pixels. Specialized viewport sizes fall back to this value.
public double? SmallViewportWidth { get; set; } #Small viewport width in CSS pixels.
public double? SmallViewportHeight { get; set; } #Small viewport height in CSS pixels.
public double? LargeViewportWidth { get; set; } #Large viewport width in CSS pixels.
public double? LargeViewportHeight { get; set; } #Large viewport height in CSS pixels.
public double? DynamicViewportWidth { get; set; } #Dynamic viewport width in CSS pixels.
public double? DynamicViewportHeight { get; set; } #Dynamic viewport height in CSS pixels.
public double? ContainerWidth { get; set; } #Query-container width in CSS pixels.
public double? ContainerHeight { get; set; } #Query-container height in CSS pixels.
public double? ContainerInlineSize { get; set; } #Query-container inline size in CSS pixels. Falls back to container width.
public double? ContainerBlockSize { get; set; } #Query-container block size in CSS pixels. Falls back to container height.