Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlRenderResult

OfficeIMO.Html

Namespace
OfficeIMO.Html
Assembly
OfficeIMO.Html
Source revision
3b680b1b6fb1 with working tree changes
Modifiers
sealed

A resolved request and its retained backend-neutral scene. Output adapters consume this result without choosing new CSS, layout, pagination, or page-selection defaults.

Inheritance

  • object
  • HtmlRenderResult

Usage

Explore 3 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.

Methods

public HtmlRenderSurface GetSurface(int outputIndex) #

Gets one executable output surface by zero-based index.

Parameters

outputIndex int required
public void ThrowIfLoss() #

Throws with the complete report when the retained result is not lossless.

public HtmlRenderResult WithAdditionalDiagnostics(IEnumerable<HtmlDiagnostic> diagnostics) #

Returns an equivalent retained result carrying additional diagnostics from an owning container, adapter, or input boundary. The current result remains unchanged.

Parameters

diagnostics System.Collections.Generic.IEnumerable<OfficeIMO.Html.HtmlDiagnostic> required

Properties

public HtmlRenderRequest Request { get; } #

Independent immutable request snapshot used for this operation.

public HtmlRenderDocument Document { get; } #

Selected, sliced, or stitched backend-neutral display list.

public IReadOnlyList<HtmlRenderSurfaceResult> Surfaces { get; } #

Ordered surface geometry and source mapping.

public IReadOnlyList<HtmlRenderSurface> OutputSurfaces { get; } #

Ordered executable surface views for preview, drawing, geometry, and hit-test consumers.

public double RequestedScale { get; } #

Requested output scale before any bounded raster scale reduction.

public OfficeColor BackgroundColor { get; } #

Requested output background used by image adapters.

public HtmlCapabilityCoverage Coverage { get; } #

Qualification of the exact effective request axes.

public IReadOnlyList<string> DeclaredProviderIds { get; } #

Provider identities declared by the compatibility manifests for this profile.

public IReadOnlyList<HtmlDiagnostic> Diagnostics { get; } #

Structured diagnostics emitted by parsing, layout, and display-list construction.

public bool HasLoss { get; } #

Whether the retained result contains an approximation, omission, or failure.

public IReadOnlyList<HtmlDiagnostic> LossDiagnostics { get; } #

Diagnostics that report an approximation, omission, or failure.