Class
HtmlSiteBundlePdfExtensions
OfficeIMO.Html.Pdf
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) #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
- request OfficeIMO.Html.HtmlRenderRequest
- cancellationToken System.Threading.CancellationToken = default
Returns
HtmlPdfRenderRequestResultpublic static Task<HtmlPdfRenderRequestResult> RenderToPdfResultAsync(HtmlSiteBundle bundle, HtmlRenderRequest request, CancellationToken cancellationToken = default) #Asynchronously renders a PDF intent with the archive's snapshot resources, without implicitly enabling local or remote resource access.
Parameters
- bundle OfficeIMO.Html.HtmlSiteBundle
- request OfficeIMO.Html.HtmlRenderRequest
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<HtmlPdfRenderRequestResult>