Link Search Menu Expand Document

TextComparer Class

Represents PDF text comparer.
Inheritance Hierarchy
SystemObject
Bytescout.PDFExtractorTextComparer

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public class TextComparer

The TextComparer type exposes the following members.

Constructors
NameDescription
Public methodTextComparer
Initializes a new instance of the TextComparer class.
Public methodTextComparer(String, String)
Initializes a new instance of the TextComparer class.
Top
Properties
NameDescription
Public propertyAreEqual
Gets whether the documents equal.
Public propertyChangedInPercents
Count of changes in percents.
Public propertyCheckPermissions
Defines whether respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited.
Public propertyFirstFileName
Public propertyLinesAddedCount
Count of lines added.
Public propertyLinesChangedCount
Count of lines changed (modified).
Public propertyLinesRemovedCount
Count of lines removed.
Public propertyRegistrationKey
Public propertyRegistrationName
Public propertySecondFileName
Public propertyTimeSpent
Processing time.
Top
Methods
NameDescription
Public methodCompare(Stream, Stream)
Compares two PDF documents.
Public methodCompare(String, String)
Compares two PDF documents.
Public methodCompare(BaseTextExtractor, BaseTextExtractor)
Compares two PDF documents loaded into an extractor instance. Supports TextExtractor, CSVExtractor, XMLExtractor and JSONExtractor as the input.
Public methodCompare(Stream, Stream, Int32, Int32)
Compares two PDF documents.
Public methodCompare(String, String, Int32, Int32)
Compares two PDF documents.
Public methodCompare(BaseTextExtractor, BaseTextExtractor, Int32, Int32)
Compares two PDF documents loaded into an extractor instance. Supports TextExtractor, CSVExtractor, XMLExtractor and JSONExtractor as the input.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateHtmlReport(Stream)
Generates the comparison report in HTML format.
Public methodGenerateHtmlReport(String)
Generates the comparison report in HTML format.
Public methodGenerateTextReport(Stream)
Generates the comparison report in plain text format.
Public methodGenerateTextReport(String)
Generates the comparison report in plain text format.
Public methodGetChanges
Returns list of changes in the form convenient for further processing.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Events
NameDescription
Public eventPasswordRequired
Occurs when the password required to decrypt the document.
Top
See Also

Reference