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 PdfDocument.CompareVisual
- Method PdfDocument.CompareVisual
- Method PdfVisualComparer.Compare
Constructors
public PdfVisualComparisonOptions() #Inherited Methods
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.