API Reference
Class
HtmlRenderEngine
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:
HtmlRenderDocumentRenders a parsed HTML source into a backend-neutral continuous or paged visual document.
Parameters
- document OfficeIMO.Html.HtmlConversionDocument
- options OfficeIMO.Html.HtmlRenderOptions = null
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
- options OfficeIMO.Html.HtmlRenderOptions = null
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object