Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlCssMathParser

OfficeIMO.Html.Css

Namespace
OfficeIMO.Html.Css
Assembly
OfficeIMO.Html.Core
Source revision
56dd0d38e0b5 with working tree changes
Modifiers
static

Parses the bounded OfficeIMO-owned CSS length, percentage, and arithmetic subset.

Inheritance

  • object
  • HtmlCssMathParser

Methods

public static HtmlCssMathParseResult ParseLengthPercentage(string source, HtmlCssMathOptions? options = null, CancellationToken cancellationToken = default) #

Parses a standalone value accepted by a <length-percentage> property position.

Parameters

source string required
options OfficeIMO.Html.Css.HtmlCssMathOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional