Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlRenderResultImageExtensions

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers static

Encodes retained HTML render results through the shared Drawing image encoders.

Inheritance

  • Object
  • HtmlRenderResultImageExtensions

Methods

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

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

Parameters

result OfficeIMO.Html.HtmlRenderResult requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1
public static IReadOnlyList<OfficeImageExportResult> ExportImages(HtmlRenderResult result, CancellationToken cancellationToken = default) #
Returns: IReadOnlyList<OfficeImageExportResult>

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

Parameters

result OfficeIMO.Html.HtmlRenderResult requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1