# HtmlImportLimits

Shared native-artifact limits for HTML import adapters such as Excel and PowerPoint.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[HtmlImportLimits.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L8)

**Modifiers**

sealed

Shared native-artifact limits for HTML import adapters such as Excel and PowerPoint.

## Inheritance

- object
- HtmlImportLimits

## 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.

### Returned or exposed by 1

- Method [HtmlImportLimits.Clone](/api/html/officeimo-html-htmlimportlimits/#method-clone)

Filter members 

Show inherited

## Constructors

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

[HtmlImportLimits.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L8)

## Methods

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

[HtmlImportLimits.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L53)

Creates an independent limits snapshot.

Returns

`HtmlImportLimits`

`public void Validate()` [#](#method-validate)

[HtmlImportLimits.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L73)

Validates that every configured budget is finite and positive.

## 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 MaxSemanticContainers { get; set; }` [#](#property-maxsemanticcontainers)

[HtmlImportLimits.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L8)

Maximum semantic sheets, slides, or equivalent top-level containers.

`public int MaxTables { get; set; }` [#](#property-maxtables)

[HtmlImportLimits.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L11)

Maximum imported native tables.

`public int MaxTableCells { get; set; }` [#](#property-maxtablecells)

[HtmlImportLimits.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L14)

Maximum grid slots in one imported table, including spans.

`public int MaxImages { get; set; }` [#](#property-maximages)

[HtmlImportLimits.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L17)

Maximum imported embedded images, and independently the maximum expensive raster normalization attempts per operation.

`public long MaxImageBytes { get; set; }` [#](#property-maximagebytes)

[HtmlImportLimits.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L20)

Maximum decoded bytes in one embedded image.

`public long MaxTotalImageBytes { get; set; }` [#](#property-maxtotalimagebytes)

[HtmlImportLimits.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L23)

Maximum decoded embedded-image bytes across one import operation. Normalizing adapters charge the larger of source and native payloads for storage, and independently bound total source bytes admitted for raster normalization, including failed attempts.

`public long MaxDecodedImagePixels { get; set; }` [#](#property-maxdecodedimagepixels)

[HtmlImportLimits.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L26)

Maximum pixels in one raster image that an adapter decodes to normalize into a target-native image format.

`public int MaxCharts { get; set; }` [#](#property-maxcharts)

[HtmlImportLimits.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L29)

Maximum imported native charts.

`public int MaxChartSeries { get; set; }` [#](#property-maxchartseries)

[HtmlImportLimits.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L32)

Maximum series accepted in one semantic chart.

`public int MaxChartCategories { get; set; }` [#](#property-maxchartcategories)

[HtmlImportLimits.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L35)

Maximum categories accepted in one semantic chart.

`public long MaxChartPoints { get; set; }` [#](#property-maxchartpoints)

[HtmlImportLimits.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L38)

Maximum chart data points across one import operation.

`public int MaxShapes { get; set; }` [#](#property-maxshapes)

[HtmlImportLimits.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L41)

Maximum imported native shapes across one operation.

`public int MaxAnnotations { get; set; }` [#](#property-maxannotations)

[HtmlImportLimits.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L44)

Maximum comments, formulas, notes, and similar annotations.

`public int MaxMetadataCharacters { get; set; }` [#](#property-maxmetadatacharacters)

[HtmlImportLimits.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L47)

Maximum characters accepted by one target-native text or metadata field.

`public double MaxAbsoluteGeometry { get; set; }` [#](#property-maxabsolutegeometry)

[HtmlImportLimits.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Engine/HtmlImportLimits.cs#L50)

Largest absolute coordinate or size accepted from semantic geometry.

<!-- PowerForge markdown artifact sha256:1158D4177D1DDB2DADDF23B87BA0C1170BFBC5F44C58789C4651BBFBDCCED2CB -->
