# HtmlCapabilityGalleryArtifactEvidence

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

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[HtmlCapabilityGalleryArtifactEvidence.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L6)

**Base**

`OfficeConversionReport`

**Modifiers**

sealed

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

## Inheritance

- OfficeConversionReport
- HtmlCapabilityGalleryArtifactEvidence

## Usage

Explore 2 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 1

- Property [HtmlCapabilityGalleryArtifact.Evidence](/api/html/officeimo-html-htmlcapabilitygalleryartifact/#property-evidence)

### Accepted by parameters 1

- Method [HtmlCapabilityGalleryArtifact.WithEvidence](/api/html/officeimo-html-htmlcapabilitygalleryartifact/#method-withevidence-officeimo-html-htmlcapabilitygalleryartifactevidence) parameter `evidence`

Filter members 

Show inherited

## Constructors

`public HtmlCapabilityGalleryArtifactEvidence(int pageCount, int? pageNumber, double? width, double? height, string dimensionUnit, IEnumerable<HtmlDiagnostic> diagnostics, IEnumerable<HtmlCapabilityGalleryCheck> checks)` [#](#member-f887db3d9c865100a4da3b74)

[HtmlCapabilityGalleryArtifactEvidence.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L6)

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

Parameters

**pageCount int required**

**pageNumber int? required**

**width double? required**

**height double? required**

**dimensionUnit string required**

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

**checks System.Collections.Generic.IEnumerable<OfficeIMO.Html.HtmlCapabilityGalleryCheck> required**

## 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 int PageCount { get; }` [#](#property-pagecount)

[HtmlCapabilityGalleryArtifactEvidence.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L30)

Total pages in the rendered source document.

`public int? PageNumber { get; }` [#](#property-pagenumber)

[HtmlCapabilityGalleryArtifactEvidence.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L32)

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

`public double? Width { get; }` [#](#property-width)

[HtmlCapabilityGalleryArtifactEvidence.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L34)

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

`public double? Height { get; }` [#](#property-height)

[HtmlCapabilityGalleryArtifactEvidence.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L36)

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

`public string DimensionUnit { get; }` [#](#property-dimensionunit)

[HtmlCapabilityGalleryArtifactEvidence.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L38)

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

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

[HtmlCapabilityGalleryArtifactEvidence.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L40)

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

`public IReadOnlyList<HtmlCapabilityGalleryCheck> Checks { get; }` [#](#property-checks)

[HtmlCapabilityGalleryArtifactEvidence.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L42)

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

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

[HtmlCapabilityGalleryArtifactEvidence.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.Html/Gallery/HtmlCapabilityGalleryArtifactEvidence.cs#L44)

Whether this artifact's producing operation reported fidelity loss.

## 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:0E22CB747E8D7C824D84604FC05E31A6CBD2A498717E787A8F6AA57FE6147637 -->
