API Reference

Class

PdfVisualPageComparison

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

One rendered page comparison and its human-review artifacts.

Inheritance

  • Object
  • PdfVisualPageComparison

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

Properties

public Int32 PageNumber { get; } #

One-based page number.

public Boolean IsMatch { get; } #

Whether this page satisfies the configured threshold.

public Int32 Width { get; } #

Comparison canvas width.

public Int32 Height { get; } #

Comparison canvas height.

public Int64 ComparedPixels { get; } #

Pixels compared after exclusions.

public Int64 DifferentPixels { get; } #

Pixels exceeding channel tolerance.

public Int32 MaximumChannelDifference { get; } #

Maximum observed channel difference.

public Double MeanChannelDifference { get; } #

Mean absolute channel difference.

public Double DifferenceRatio { get; } #

Changed-pixel ratio.

public Byte[] ExpectedPng { get; } #

Expected page PNG.

public Byte[] ActualPng { get; } #

Actual page PNG.

public Byte[] DiffPng { get; } #

Highlighted diff PNG.