Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlRenderResultImageExtensions

OfficeIMO.Html.Pdf

Namespace
OfficeIMO.Html.Pdf
Assembly
OfficeIMO.Html.Pdf
Source revision
e163ccb36643 with working tree changes
Modifiers
static

Encodes retained HTML surfaces through their canonical PDF page scenes.

Inheritance

  • object
  • HtmlRenderResultImageExtensions

Methods

public static OfficeImageExportResult ExportImage(HtmlRenderResult result, CancellationToken cancellationToken = default) #

Encodes the only retained surface using the request's explicit image encoder.

Parameters

result OfficeIMO.Html.HtmlRenderResult required
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeImageExportResult
public static IReadOnlyList<OfficeImageExportResult> ExportImages(HtmlRenderResult result, CancellationToken cancellationToken = default) #

Encodes every retained surface using the request's explicit image encoder.

Parameters

result OfficeIMO.Html.HtmlRenderResult required
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<OfficeImageExportResult>