Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlPdfResourcePolicySummary

OfficeIMO.Html.Pdf

Namespace
OfficeIMO.Html.Pdf
Assembly
OfficeIMO.Html.Pdf
Source revision
ba882f6b0d07 with working tree changes
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.

Methods

public static HtmlPdfResourcePolicySummary From(HtmlPdfExportOptions options) #

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

Parameters

options OfficeIMO.Html.Pdf.HtmlPdfExportOptions required

Properties

public bool HasResourceResolver { get; private set; } #

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

public bool AllowSystemFontEmbedding { get; private set; } #

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

public bool AllowDocumentFontEmbedding { get; private set; } #

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

public bool AllowLocalFileAccess { get; private set; } #

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

public bool AllowRemoteResourceResolution { get; private set; } #

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

public bool AllowDataUris { get; private set; } #

True when inline data URI resources are accepted.

public bool AllowEmbeddedPackageResources { get; private set; } #

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

public TimeSpan ResourceTimeout { get; private set; } #

Maximum duration allowed for one resource request.

public int MaxConcurrentResourceLoads { get; private set; } #

Maximum asynchronous resource resolver concurrency.

public long MaxResourceBytes { get; private set; } #

Maximum bytes accepted from one resource.

public long MaxTotalResourceBytes { get; private set; } #

Maximum total bytes accepted by one conversion.

public int MaxResourceCount { get; private set; } #

Maximum external resource count accepted by one conversion.

public int MaxResourceRequests { get; private set; } #

Maximum resolver invocations, including misses and failures.

public int MaxStylesheetImportDepth { get; private set; } #

Maximum recursive stylesheet import depth.

public IReadOnlyList<string> AllowedUrlSchemes { get; private set; } #

Allowed URL schemes when the URL policy restricts schemes.