Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlSiteBundlePdfExtensions

Namespace OfficeIMO.Html.Pdf
Assembly OfficeIMO.Html.Pdf
Modifiers static

Renders bounded ZIP site bundles through the existing HTML/PDF request and resource owners.

Inheritance

  • Object
  • HtmlSiteBundlePdfExtensions

Methods

public static HtmlPdfRenderRequestResult RenderToPdfResult(HtmlSiteBundle bundle, HtmlRenderRequest request, CancellationToken cancellationToken = default) #
Returns: HtmlPdfRenderRequestResult

Renders a PDF intent and retains HTML surface mapping and the combined PDF report. Embedded resources require AllowEmbeddedPackageResources; host reads remain separately controlled.

Parameters

bundle OfficeIMO.Html.HtmlSiteBundle requiredposition: 0
request OfficeIMO.Html.HtmlRenderRequest requiredposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2
public static Task<HtmlPdfRenderRequestResult> RenderToPdfResultAsync(HtmlSiteBundle bundle, HtmlRenderRequest request, CancellationToken cancellationToken = default) #
Returns: Task<HtmlPdfRenderRequestResult>

Asynchronously renders a PDF intent with the archive's snapshot resources, without implicitly enabling local or remote resource access.

Parameters

bundle OfficeIMO.Html.HtmlSiteBundle requiredposition: 0
request OfficeIMO.Html.HtmlRenderRequest requiredposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2