Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlCssLengthResolutionContext

Namespace OfficeIMO.Html.Css
Assembly OfficeIMO.Html.Core
Modifiers sealed

Context used to resolve owned length and percentage expressions to CSS pixels.

Inheritance

  • Object
  • HtmlCssLengthResolutionContext

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

public HtmlCssLengthResolutionContext() #

Properties

public Nullable<Double> PercentageReference { get; set; } #

Length represented by 100% for the consuming property.

public Nullable<Double> FontSize { get; set; } #

Computed element font size in CSS pixels.

public Nullable<Double> RootFontSize { get; set; } #

Computed root font size in CSS pixels.

public Boolean UprightVerticalText { get; set; } #

Whether text is upright in a vertical writing mode, requiring a 1em fallback for the ch unit.

public Nullable<Double> ViewportWidth { get; set; } #

Default viewport width in CSS pixels. Specialized viewport sizes fall back to this value.

public Nullable<Double> ViewportHeight { get; set; } #

Default viewport height in CSS pixels. Specialized viewport sizes fall back to this value.

public Nullable<Double> SmallViewportWidth { get; set; } #

Small viewport width in CSS pixels.

public Nullable<Double> SmallViewportHeight { get; set; } #

Small viewport height in CSS pixels.

public Nullable<Double> LargeViewportWidth { get; set; } #

Large viewport width in CSS pixels.

public Nullable<Double> LargeViewportHeight { get; set; } #

Large viewport height in CSS pixels.

public Nullable<Double> DynamicViewportWidth { get; set; } #

Dynamic viewport width in CSS pixels.

public Nullable<Double> DynamicViewportHeight { get; set; } #

Dynamic viewport height in CSS pixels.

public Nullable<Double> ContainerWidth { get; set; } #

Query-container width in CSS pixels.

public Nullable<Double> ContainerHeight { get; set; } #

Query-container height in CSS pixels.

public Nullable<Double> ContainerInlineSize { get; set; } #

Query-container inline size in CSS pixels. Falls back to container width.

public Nullable<Double> ContainerBlockSize { get; set; } #

Query-container block size in CSS pixels. Falls back to container height.