Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfVisualPageComparison

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 33d062b583cb with working tree changes
Modifiers sealed

One rendered page comparison and its human-review artifacts.

Inheritance

  • Object
  • PdfVisualPageComparison

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.

Properties

public Int32 PageNumber { get; } #

One-based page number.

public Int32 ActualPageNumber { get; } #

One-based page in the actual document.

public Boolean IsMatch { get; } #

Whether this page has complete managed renderings that satisfy the configured threshold.

public IReadOnlyList<PdfRenderCapabilityDiagnostic> ExpectedCapabilityDiagnostics { get; } #

Known simplifications or omissions in the expected page's managed rendering.

public IReadOnlyList<PdfRenderCapabilityDiagnostic> ActualCapabilityDiagnostics { get; } #

Known simplifications or omissions in the actual page's managed rendering.

public Boolean HasSizeDifference { get; } #

Whether the rendered source dimensions differ, independently of pixel tolerances.

public PdfPixelRegion? ChangedBounds { get; } #

Smallest comparison-canvas rectangle containing pixels above channel tolerance, or null when none differ.

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.