API Reference

Class

HtmlCapabilityGalleryArtifactEvidence

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers sealed

Observed geometry, diagnostics, and executed checks for one hash-bound gallery artifact.

Inheritance

  • Object
  • HtmlCapabilityGalleryArtifactEvidence

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

public HtmlCapabilityGalleryArtifactEvidence(Int32 pageCount, Nullable<Int32> pageNumber, Nullable<Double> width, Nullable<Double> height, String dimensionUnit, IEnumerable<HtmlDiagnostic> diagnostics, IEnumerable<HtmlCapabilityGalleryCheck> checks) #

Creates an immutable snapshot of observations from the artifact's producing operation.

Parameters

pageCount System.Int32 requiredposition: 0
pageNumber System.Nullable{System.Int32} requiredposition: 1
width System.Nullable{System.Double} requiredposition: 2
height System.Nullable{System.Double} requiredposition: 3
dimensionUnit System.String requiredposition: 4
diagnostics System.Collections.Generic.IEnumerable{OfficeIMO.Html.HtmlDiagnostic} requiredposition: 5
checks System.Collections.Generic.IEnumerable{OfficeIMO.Html.HtmlCapabilityGalleryCheck} requiredposition: 6

Properties

public Int32 PageCount { get; } #

Total pages in the rendered source document.

public Nullable<Int32> PageNumber { get; } #

One-based source page, or null for a multi-page artifact.

public Nullable<Double> Width { get; } #

Observed width, or null when pages may have different dimensions.

public Nullable<Double> Height { get; } #

Observed height, or null when pages may have different dimensions.

public String DimensionUnit { get; } #

Unit used for width and height, such as px or pt.

public IReadOnlyList<HtmlDiagnostic> Diagnostics { get; } #

Diagnostics collected by this artifact's layout and encoding operation.

public IReadOnlyList<HtmlCapabilityGalleryCheck> Checks { get; } #

Checks that actually ran; caller-declared expectations are recorded separately.

public Boolean HasLoss { get; } #

Whether this artifact's producing operation reported fidelity loss.