Click or drag to resize

CPDFCompareOverlay Class

Overlay Comparison is used to visually compare pages of different documents. It’s helpful for things such as construction plans and detailed drawings, as well as other content that requires precise placement.
Inheritance Hierarchy
SystemObject
  ComPDFKit.CompareCPDFCompareOverlay

Namespace:  ComPDFKit.Compare
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.0.0.0
Syntax
C#
public class CPDFCompareOverlay

The CPDFCompareOverlay type exposes the following members.

Constructors
  NameDescription
Public methodCPDFCompareOverlay(CPDFDocument, CPDFDocument)
Initialize it with the given two versions of a document. By default, it will generate a comparison document according to the order of pages, starting from the first page of both versions of the document.
Public methodCPDFCompareOverlay(CPDFDocument, String, CPDFDocument, String)
Initialize it with the given two versions of a document. and indices of the pages on which the points should be selected in both versions of a document.
Top
Methods
  NameDescription
Public methodCompare
Compares the document.
Public methodComparisonDocument
Gets the generated comparison document once the user compares both versions of a document.
Public methodRelease
Releases CPDFCompareOverlay object resource.
Public methodSetBlendMode
Sets the blend mode that will be used when overlaying the new version of a document onto the old version.
Public methodSetNewDocumentFillAlpha
Sets the fill opacity that will be used to replace all strokes in the new version of a document.
Public methodSetNewDocumentStrokeAlpha
Sets the opacity that will be used to replace all strokes in the new version of a document.
Public methodSetNewDocumentStrokeColor
Sets the color that will be used to replace all strokes in the new version of a document.
Public methodSetNoFill
Sets whether the path is filled with white.
Public methodSetOldDocumentFillAlpha
Sets the fill opacity that will be used to replace all strokes in the old version of a document.
Public methodSetOldDocumentStrokeAlpha
Sets the opacity that will be used to replace all strokes in the old version of a document.
Public methodSetOldDocumentStrokeColor
Sets the color that will be used to replace all strokes in the old version of a document.
Top
See Also