API Reference

Class

HtmlComputedStyle

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Computed-style snapshot for one HTML element.

Inheritance

  • Object
  • HtmlComputedStyle

Usage

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

Accepted by parameters

Methods

public String GetValue(String propertyName) #
Returns: String

Gets a computed property value or an empty string when no value is known.

Parameters

propertyName System.String requiredposition: 0

Properties

public IReadOnlyDictionary<String, String> Properties { get; } #

All computed properties known to the lightweight style engine.

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

Gets the resolved effective font size in points after relative units, percentages, and CSS font-size keywords have been evaluated against their inherited context.