API Reference

Class

HtmlImportLimits

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

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

Inheritance

  • Object
  • HtmlImportLimits

Usage

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

Returned or exposed by

Constructors

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.

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.

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.