# HtmlRenderDocument

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

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlRenderDocument.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L51)

**Base**

`OfficeConversionReport`

**Modifiers**

sealed

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

## Inheritance

- OfficeConversionReport
- HtmlRenderDocument

## Usage

Explore 4 API references to this type

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

### Returned or exposed by 4

- Property [HtmlEditableLayoutProjection.RenderedDocument](/api/html/officeimo-html-htmleditablelayoutprojection/#property-rendereddocument)
- Method [HtmlRenderEngine.Render](/api/html/officeimo-html-htmlrenderengine/#method-render-officeimo-html-htmlconversiondocument-officeimo-html-htmlrenderoptions)
- Method [HtmlRenderEngine.RenderAsync](/api/html/officeimo-html-htmlrenderengine/#method-renderasync-officeimo-html-htmlconversiondocument-officeimo-html-htmlrenderoptions-threading-cancellationtoken)
- Property [HtmlRenderResult.Document](/api/html/officeimo-html-htmlrenderresult/#property-document)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public void ThrowIfLoss()` [#](#method-throwifloss)

Inherited from OfficeConversionReport

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public HtmlRenderMode Mode { get; }` [#](#property-mode)

[HtmlRenderDocument.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L51)

Layout mode used to produce the result.

`public IReadOnlyList<HtmlRenderPage> Pages { get; }` [#](#property-pages)

[HtmlRenderDocument.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L54)

Rendered pages, or one page for continuous output.

`public IReadOnlyList<HtmlDiagnostic> NativeDiagnostics { get; }` [#](#property-nativediagnostics)

[HtmlRenderDocument.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L57)

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

`public override bool HasLoss { get; }` [#](#property-hasloss)

[HtmlRenderDocument.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L68)

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

`public OfficeFontFaceCollection Fonts { get; }` [#](#property-fonts)

[HtmlRenderDocument.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L84)

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

`public HtmlRenderMetadata Metadata { get; }` [#](#property-metadata)

[HtmlRenderDocument.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L87)

Source document metadata retained for image and PDF adapters.

`public IReadOnlyList<HtmlRenderHeading> Headings { get; }` [#](#property-headings)

[HtmlRenderDocument.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L90)

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

`public string Text { get; }` [#](#property-text)

[HtmlRenderDocument.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderDocument.cs#L93)

Concatenated logical searchable text retained by the shared render model.

## Inherited Properties

`public string Source { get; }` [#](#property-source)

Inherited from OfficeConversionReport

`public string Target { get; }` [#](#property-target)

Inherited from OfficeConversionReport

`public string? OutputPath { get; }` [#](#property-outputpath)

Inherited from OfficeConversionReport

`public long ItemsWritten { get; }` [#](#property-itemswritten)

Inherited from OfficeConversionReport

`public TimeSpan Elapsed { get; }` [#](#property-elapsed)

Inherited from OfficeConversionReport

`public IReadOnlyList<OfficeDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

Inherited from OfficeConversionReport

<!-- PowerForge markdown artifact sha256:5E48EC82D2C7B88599F90033B24ED4344AC83277E06C7E9C93FDFB676FB3C875 -->
