Class
HtmlRenderResultImageExtensions
OfficeIMO.Html.Pdf
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
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeImageExportResultpublic 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
- cancellationToken System.Threading.CancellationToken = default
Returns
IReadOnlyList<OfficeImageExportResult>