Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlImportLimits

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Source revision 9c9cf9abed95 with working tree changes
Modifiers sealed

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

Inheritance

  • Object
  • HtmlImportLimits

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 2

Constructors

public HtmlImportLimits() #

Methods

public HtmlImportLimits Clone() #
Returns: HtmlImportLimits

Creates an independent limits snapshot.

public static HtmlImportLimits CreateDefault() #
Returns: HtmlImportLimits

Creates the bounded default profile used for untrusted semantic HTML.

public Void Validate() #
Returns: Void

Validates that every configured budget is finite and positive.

Properties

public Int32 MaxSemanticContainers { get; set; } #

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

public Int32 MaxTables { get; set; } #

Maximum imported native tables.

public Int32 MaxTableCells { get; set; } #

Maximum grid slots in one imported table, including spans.

public Int32 MaxImages { get; set; } #

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

public Int64 MaxImageBytes { get; set; } #

Maximum decoded bytes in one embedded image.

public Int64 MaxTotalImageBytes { get; set; } #

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 Int64 MaxDecodedImagePixels { get; set; } #

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

public Int32 MaxCharts { get; set; } #

Maximum imported native charts.

public Int32 MaxChartSeries { get; set; } #

Maximum series accepted in one semantic chart.

public Int32 MaxChartCategories { get; set; } #

Maximum categories accepted in one semantic chart.

public Int64 MaxChartPoints { get; set; } #

Maximum chart data points across one import operation.

public Int32 MaxShapes { get; set; } #

Maximum imported native shapes across one operation.

public Int32 MaxAnnotations { get; set; } #

Maximum comments, formulas, notes, and similar annotations.

public Int32 MaxMetadataCharacters { get; set; } #

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

public Double MaxAbsoluteGeometry { get; set; } #

Largest absolute coordinate or size accepted from semantic geometry.