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
)
Public Shared Function HighlightTextDiff (
doc1 As PDFDoc,
doc2 As PDFDoc,
options As TextDiffOptions
) As Integer
public:
static int HighlightTextDiff(
[InAttribute] PDFDoc^ doc1,
[InAttribute] PDFDoc^ doc2,
[InAttribute] TextDiffOptions^ options
)
pdftron.PDF.PDFDoc.HighlightTextDiff = function(doc1, doc2, 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 Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
Remarks This function is beta and is subject to change
See Also