API Reference
Class
PdfVisualComparisonOptions
Options for dependency-free rendered PDF comparison.
Inheritance
- Object
- PdfVisualComparisonOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method PdfDocumentProof.CompareVisual
- Method PdfDocumentProof.CompareVisual
- Method PdfVisualComparer.Compare
- Method PdfVisualComparer.Compare
Constructors
public PdfVisualComparisonOptions() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Double Scale { get; set; } #Render scale.
public Byte ChannelTolerance { get; set; } #Maximum per-channel difference treated as equal, from 0 through 255.
public Double AllowedDifferenceRatio { get; set; } #Maximum changed-pixel ratio accepted as equal, from 0 through 1.
public PdfVisualPageAlignment Alignment { get; set; } #Alignment for pages with differing dimensions.
public OfficeColor Background { get; set; } #Raster background used for both inputs.
public IList<PdfPixelRegion> IgnoredRegions { get; } #Ignored comparison regions in output pixel coordinates.
public Int32 MaxPages { get; set; } #Maximum pages compared by one call.
public Int64 MaxPixelsPerImage { get; set; } #Maximum raster pixels allocated for one expected, actual, or diff page image.
public Int64 MaxTotalPixels { get; set; } #Maximum aggregate raster pixels allocated across the comparison.
public Int64 MaxTotalOutputBytes { get; set; } #Maximum aggregate PNG bytes retained in the comparison report.