Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlPdfResourcePolicySummary

Namespace OfficeIMO.Html.Pdf
Assembly OfficeIMO.Html.Pdf
Modifiers sealed

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

Inheritance

  • Object
  • HtmlPdfResourcePolicySummary

Usage

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(HtmlToPdfOptions options) #
Returns: HtmlPdfResourcePolicySummary

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

Parameters

options OfficeIMO.Html.Pdf.HtmlToPdfOptions requiredposition: 0

Properties

public Boolean HasResourceResolver { get; set; } #

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

public Boolean AllowSystemFontEmbedding { get; set; } #

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

public Boolean AllowDocumentFontEmbedding { get; set; } #

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

public Boolean AllowLocalFileAccess { get; set; } #

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

public Boolean AllowRemoteResourceResolution { get; set; } #

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

public Boolean AllowDataUris { get; set; } #

True when inline data URI resources are accepted.

public Boolean AllowEmbeddedPackageResources { get; set; } #

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

public TimeSpan ResourceTimeout { get; set; } #

Maximum duration allowed for one resource request.

public Int32 MaxConcurrentResourceLoads { get; set; } #

Maximum asynchronous resource resolver concurrency.

public Int64 MaxResourceBytes { get; set; } #

Maximum bytes accepted from one resource.

public Int64 MaxTotalResourceBytes { get; set; } #

Maximum total bytes accepted by one conversion.

public Int32 MaxResourceCount { get; set; } #

Maximum external resource count accepted by one conversion.

public Int32 MaxResourceRequests { get; set; } #

Maximum resolver invocations, including misses and failures.

public Int32 MaxStylesheetImportDepth { get; set; } #

Maximum recursive stylesheet import depth.

public IReadOnlyList<String> AllowedUrlSchemes { get; set; } #

Allowed URL schemes when the URL policy restricts schemes.