TextComparerCompare Method (BaseTextExtractor, BaseTextExtractor, Int32, Int32)ByteScout PDF Extractor SDK
Compares two PDF documents loaded into an extractor instance. Supports TextExtractor, CSVExtractor, XMLExtractor and JSONExtractor as the input.

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.1.4801-master
Syntax

public decimal Compare(
	BaseTextExtractor firstDocument,
	BaseTextExtractor secondDocument,
	int startPage,
	int endPage
)

Parameters

firstDocument
Type: Bytescout.PDFExtractorBaseTextExtractor
The first document.
secondDocument
Type: Bytescout.PDFExtractorBaseTextExtractor
The second document.
startPage
Type: SystemInt32
The start page index (zero-based).
endPage
Type: SystemInt32
The end page index (zero-based). Use -1 for "to the end of document".

Return Value

Type: Decimal
Number of changes in percents.
See Also

Reference