Click or drag to resize

PDFDocHighlightTextDiff Method

Highlights the differences between the external PDFs. The highlights are added directly to the inputs. This function directly adds the highlights to the two input documents. Note: Each contiguous block of change is considered a single difference. A deletion immediately followed by an insertion is considered a single edit.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static int HighlightTextDiff(
	PDFDoc doc1,
	PDFDoc doc2,
	TextDiffOptions options
)

Parameters

doc1
Type: pdftron.PDFPDFDoc
the before document, the basis of the comparison
doc2
Type: pdftron.PDFPDFDoc
the after document, to which the basis is compared
options
Type: pdftron.PDFTextDiffOptions
processing options (optional)

Return Value

Type: Int32
the total number of differences found
Exceptions
ExceptionCondition
[!:PDFNetException] PDFNetException the PDFNet exception
Remarks
This function is beta and is subject to change
See Also