API Reference

Class

HtmlRenderEngine

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers static

First-party dependency-free HTML layout entry point shared by image and PDF adapters.

Inheritance

  • Object
  • HtmlRenderEngine

Methods

public static HtmlRenderDocument Render(HtmlConversionDocument document, HtmlRenderOptions options = null) #
Returns: HtmlRenderDocument

Renders a parsed HTML source into a backend-neutral continuous or paged visual document.

Parameters

document OfficeIMO.Html.HtmlConversionDocument requiredposition: 0
options OfficeIMO.Html.HtmlRenderOptions = null optionalposition: 1
public static async Task<HtmlRenderDocument> RenderAsync(HtmlConversionDocument document, HtmlRenderOptions options = null, CancellationToken cancellationToken = null) #
Returns: Task<HtmlRenderDocument>

Renders a parsed HTML source while asynchronously resolving policy-approved external resources through the configured resolver.

Parameters

document OfficeIMO.Html.HtmlConversionDocument requiredposition: 0
options OfficeIMO.Html.HtmlRenderOptions = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = null optionalposition: 2