# HtmlSiteBundleOptions

Input limits and deterministic HTML entry selection for a ZIP site bundle.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[HtmlSiteBundleOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L11)

**Modifiers**

sealed

Input limits and deterministic HTML entry selection for a ZIP site bundle.

## Inheritance

- object
- HtmlSiteBundleOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read MHTML Web Archives and Site Bundles](/docs/html/mhtml-and-site-bundles/) Guide
  
  Open MHTML web archives or zipped websites, read their HTML and resources, create new archives, and convert them to PDF or images offline.

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

### Accepted by parameters 2

- Method [HtmlSiteBundle.Load](/api/html/officeimo-html-htmlsitebundle/#method-load-string-officeimo-html-htmlsitebundleoptions-officeimo-html-htmlconversiondocumentoptions-threading-cancellationtoken) parameter `options`
- Method [HtmlSiteBundle.LoadAsync](/api/html/officeimo-html-htmlsitebundle/#method-loadasync-string-officeimo-html-htmlsitebundleoptions-officeimo-html-htmlconversiondocumentoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[HtmlSiteBundleOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L11)

## 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 string? EntryPath { get; set; }` [#](#property-entrypath)

[HtmlSiteBundleOptions.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L7)

Optional exact, case-sensitive HTML entry path. When absent, root index.html, then root index.htm, then a single HTML entry is selected; ambiguous bundles are rejected.

`public Uri ArchiveBaseUri { get; set; }` [#](#property-archivebaseuri)

[HtmlSiteBundleOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L11)

Virtual root URI for archive paths. It must be an absolute HTTP(S) directory URI without credentials, query or fragment. It does not authorize network access.

`public long MaximumArchiveBytes { get; set; }` [#](#property-maximumarchivebytes)

[HtmlSiteBundleOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L14)

Maximum encoded input ZIP bytes.

`public int MaximumEntryCount { get; set; }` [#](#property-maximumentrycount)

[HtmlSiteBundleOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L16)

Maximum ZIP entries, including directory entries, checked before ZIP metadata is materialized.

`public long MaximumEntryBytes { get; set; }` [#](#property-maximumentrybytes)

[HtmlSiteBundleOptions.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L18)

Maximum decoded bytes of any single entry.

`public long MaximumTotalDecodedBytes { get; set; }` [#](#property-maximumtotaldecodedbytes)

[HtmlSiteBundleOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L20)

Maximum combined decoded bytes of all entries, including unused resources.

`public double MaximumCompressionRatio { get; set; }` [#](#property-maximumcompressionratio)

[HtmlSiteBundleOptions.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Html/Inputs/HtmlSiteBundleOptions.cs#L22)

Maximum declared expansion ratio for any nonempty entry.

<!-- PowerForge markdown artifact sha256:B1C1FBEEB053D11A1778EB06B41DCDCAA8A796A4A0B00631438A9DFAEC7F1A20 -->
