# HtmlPdfResourcePolicySummary

Immutable snapshot of the shared resource policy used by direct HTML-to-PDF rendering.

Class 

`OfficeIMO.Html.Pdf`

**Namespace**

`OfficeIMO.Html.Pdf`

**Assembly**

`OfficeIMO.Html.Pdf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[HtmlPdfResourcePolicySummary.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L57)

**Modifiers**

sealed

Immutable snapshot of the shared resource policy used by direct HTML-to-PDF rendering.

## Inheritance

- object
- HtmlPdfResourcePolicySummary

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

- Method [HtmlPdfExportOptions.GetResourcePolicySummary](/api/html-pdf/officeimo-html-pdf-htmlpdfexportoptions/#method-getresourcepolicysummary)
- Method [HtmlPdfResourcePolicySummary.From](/api/html-pdf/officeimo-html-pdf-htmlpdfresourcepolicysummary/#method-from-officeimo-html-pdf-htmlpdfexportoptions)

Filter members 

Show inherited

## Methods

`public static HtmlPdfResourcePolicySummary From(HtmlPdfExportOptions options)` [#](#method-from-officeimo-html-pdf-htmlpdfexportoptions)

[HtmlPdfResourcePolicySummary.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L57)

Builds a detached resource-policy summary for the supplied options.

Parameters

**options OfficeIMO.Html.Pdf.HtmlPdfExportOptions required**

Returns

`HtmlPdfResourcePolicySummary`

## 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 bool HasResourceResolver { get; private set; }` [#](#property-hasresourceresolver)

[HtmlPdfResourcePolicySummary.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L11)

True when an application-supplied asynchronous resource resolver is configured.

`public bool AllowSystemFontEmbedding { get; private set; }` [#](#property-allowsystemfontembedding)

[HtmlPdfResourcePolicySummary.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L14)

True when installed host fonts may be discovered, read, and embedded.

`public bool AllowDocumentFontEmbedding { get; private set; }` [#](#property-allowdocumentfontembedding)

[HtmlPdfResourcePolicySummary.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L17)

True when source-document font names may be used to locate installed host fonts.

`public bool AllowLocalFileAccess { get; private set; }` [#](#property-allowlocalfileaccess)

[HtmlPdfResourcePolicySummary.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L20)

True when local files may be resolved by the application-supplied resolver.

`public bool AllowRemoteResourceResolution { get; private set; }` [#](#property-allowremoteresourceresolution)

[HtmlPdfResourcePolicySummary.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L23)

True when remote resources may be resolved by the application-supplied resolver.

`public bool AllowDataUris { get; private set; }` [#](#property-allowdatauris)

[HtmlPdfResourcePolicySummary.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L26)

True when inline data URI resources are accepted.

`public bool AllowEmbeddedPackageResources { get; private set; }` [#](#property-allowembeddedpackageresources)

[HtmlPdfResourcePolicySummary.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L29)

True when bounded resources already contained in a source package may be resolved.

`public TimeSpan ResourceTimeout { get; private set; }` [#](#property-resourcetimeout)

[HtmlPdfResourcePolicySummary.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L32)

Maximum duration allowed for one resource request.

`public int MaxConcurrentResourceLoads { get; private set; }` [#](#property-maxconcurrentresourceloads)

[HtmlPdfResourcePolicySummary.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L35)

Maximum asynchronous resource resolver concurrency.

`public long MaxResourceBytes { get; private set; }` [#](#property-maxresourcebytes)

[HtmlPdfResourcePolicySummary.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L38)

Maximum bytes accepted from one resource.

`public long MaxTotalResourceBytes { get; private set; }` [#](#property-maxtotalresourcebytes)

[HtmlPdfResourcePolicySummary.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L41)

Maximum total bytes accepted by one conversion.

`public int MaxResourceCount { get; private set; }` [#](#property-maxresourcecount)

[HtmlPdfResourcePolicySummary.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L44)

Maximum external resource count accepted by one conversion.

`public int MaxResourceRequests { get; private set; }` [#](#property-maxresourcerequests)

[HtmlPdfResourcePolicySummary.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L47)

Maximum resolver invocations, including misses and failures.

`public int MaxStylesheetImportDepth { get; private set; }` [#](#property-maxstylesheetimportdepth)

[HtmlPdfResourcePolicySummary.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L50)

Maximum recursive stylesheet import depth.

`public IReadOnlyList<string> AllowedUrlSchemes { get; private set; }` [#](#property-allowedurlschemes)

[HtmlPdfResourcePolicySummary.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Html.Pdf/HtmlToPdf/HtmlPdfResourcePolicySummary.cs#L53)

Allowed URL schemes when the URL policy restricts schemes.

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