Class GraphicalPdfComparer
GraphicalPdfComparer class
Represents a class for graphically comparing PDF documents. Should be used to search for small changes, mainly of a graphical nature. To compare text content changes, use other PDF comparison classes.
public class GraphicalPdfComparer
Constructors
Properties
Name | Description |
---|
Color { get; set; } | Gets and sets the change flag color. The default color is red. |
Resolution { get; set; } | Gets and sets the resolution of the resulting images. The default value is 150dpi. |
Threshold { get; set; } | Gets and sets the threshold value in percentage. This value allows you to ignore small changes if they are not significant to you. The default value is 0%. |
Methods
Name | Description |
---|
CompareDocumentsToImages(Document, Document, string, string, ImageFormat) | Compares documents graphically. The comparison result is placed in images. |
CompareDocumentsToPdf(Document, Document, string) | Compares documents graphically. The comparison result is placed in a PDF document. |
ComparePagesToImage(Page, Page, string) | Compares pages graphically. The comparison result is placed in a image. |
ComparePagesToPdf(Page, Page, Document) | Compares pages graphically. The comparison result is placed in a PDF document. |
ComparePagesToPdf(Page, Page, string) | Compares pages graphically. The comparison result is placed in a PDF document. |
GetDifference(Page, Page) | Gets differences between pages images. The result contains an image of the first page compared and an array of differences. |
See Also