# HtmlCssMathOptions

Resource limits for one standalone CSS math parse.

Class 

`OfficeIMO.Html.Css`

**Namespace**

`OfficeIMO.Html.Css`

**Assembly**

`OfficeIMO.Html.Core`

**Source revision**

`56dd0d38e0b5` with working tree changes

**Source**

[HtmlCssMathContracts.cs:166](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L166)

**Modifiers**

sealed

Resource limits for one standalone CSS math parse.

## Inheritance

- object
- HtmlCssMathOptions

## Usage

Explore 2 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.

### Returned or exposed by 1

- Method [HtmlCssMathOptions.Clone](/api/html-core/officeimo-html-css-htmlcssmathoptions/#method-clone)

### Accepted by parameters 1

- Method [HtmlCssMathParser.ParseLengthPercentage](/api/html-core/officeimo-html-css-htmlcssmathparser/#method-parselengthpercentage-string-officeimo-html-css-htmlcssmathoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public HtmlCssMathOptions()` [#](#constructor-ctor)

[HtmlCssMathContracts.cs:166](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L166)

## Methods

`public HtmlCssMathOptions Clone()` [#](#method-clone)

[HtmlCssMathContracts.cs:177](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L177)

Copies the request settings.

Returns

`HtmlCssMathOptions`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int MaxInputCharacters { get; set; }` [#](#property-maxinputcharacters)

[HtmlCssMathContracts.cs:166](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L166)

Maximum UTF-16 input length.

`public int MaxTokens { get; set; }` [#](#property-maxtokens)

[HtmlCssMathContracts.cs:168](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L168)

Maximum lexical tokens, excluding end-of-input.

`public int MaxNestingDepth { get; set; }` [#](#property-maxnestingdepth)

[HtmlCssMathContracts.cs:170](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L170)

Maximum nested parentheses and math functions.

`public int MaxOperations { get; set; }` [#](#property-maxoperations)

[HtmlCssMathContracts.cs:172](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L172)

Maximum arithmetic, function, and argument-separator operations.

`public int MaxArguments { get; set; }` [#](#property-maxarguments)

[HtmlCssMathContracts.cs:174](https://github.com/EvotecIT/OfficeIMO/blob/56dd0d38e0b526611c1af001c026f8c72600880f/OfficeIMO.Html.Core/Css/HtmlCssMathContracts.cs#L174)

Maximum arguments accepted by min() or max().

<!-- PowerForge markdown artifact sha256:5384CEF0BD28302ED285341578FA775F4A43B9E0662DCA76D3B248144AFDB014 -->
