API Reference

Class

HtmlRenderDocument

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Backend-neutral result shared by HTML image and PDF export.

Inheritance

  • Object
  • HtmlRenderDocument

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public HtmlRenderDocument RequireNoLoss() #
Returns: HtmlRenderDocument

Throws with the complete structured report when the render was not lossless.

Properties

public HtmlRenderMode Mode { get; } #

Layout mode used to produce the result.

public IReadOnlyList<HtmlRenderPage> Pages { get; } #

Rendered pages, or one page for continuous output.

public IReadOnlyList<HtmlDiagnostic> Diagnostics { get; } #

Diagnostics emitted while parsing, laying out, and preparing paint operations.

public Boolean HasLoss { get; } #

Whether rendering reported an approximation, omission, or failure. Renderer warnings are deliberately treated as loss unless they are informational diagnostics.

public OfficeFontFaceCollection Fonts { get; } #

Independent snapshot of scoped font faces retained for image and PDF backends.

public HtmlRenderMetadata Metadata { get; } #

Source document metadata retained for image and PDF adapters.

public IReadOnlyList<HtmlRenderHeading> Headings { get; } #

Source headings retained in document order for navigation-capable backends.

public String Text { get; } #

Concatenated logical searchable text retained by the shared render model.