This class encapsulates the PDF to Text Converter functionality and allows you to extract the text from PDF documents
and to search text in PDF documents
Inheritance Hierarchy
Winnovative.PdfToTextPdfToTextConverter
Namespace: Winnovative.PdfToText
Assembly: WnvPdfToText (in WnvPdfToText.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The PdfToTextConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfToTextConverter |
PDF to Text constructor
|
Properties
Name | Description | |
---|---|---|
AddHtmlMetaTags |
A flag indicating if the converter should wrap the resulted text in a HTML document. The default value is false
| |
HtmlCharset |
The charset of the HTML document wrapping the resulted text
| |
ImpersonationOptions |
The impersonation options used during tool execution
| |
Layout |
The text layout in the resulted text document
| |
LicenseKey |
Gets or sets the license key string received from vendor.
If this property is null the tool will automatically enter in evaluation mode
| |
MarkPageBreaks |
A flag indicating if the page breaks should be marked by PAGE_BREAK_MARK special character
in the resulted PDF document. The default value is false
| |
OwnerPassword |
The owner password to be used to open a password protected PDF document
| |
PAGE_BREAK_MARK |
The special character to mark the PDF pages in the resulted PDF document
| |
PdfDocumentInfo |
Gets the object encapsulating the PDF document properties. This objects is populated after
tool execution finished
| |
PdfToolFullPath |
Sets the full path of the .dat resource file. By default this file is expected to be found
in the same folder with .dll assembly
| |
RunTimeoutSec |
The maximum time allowed for this tool to run
| |
UserPassword |
The user password to be used to open a password protected PDF document
|
Methods
Name | Description | |
---|---|---|
ConvertToText(Byte) |
Converts all the pages in a PDF document to text
| |
ConvertToText(Stream) |
Converts all the pages of PDF document in a stream to text
| |
ConvertToText(String) |
Converts all the pages of a PDF file to text
| |
ConvertToText(Byte, Int32) |
Converts the pages of a PDF document to text starting from a given PDF page number to the end of the PDF document
| |
ConvertToText(Stream, Int32) |
Converts the pages of a PDF document in a stream to text starting from a given PDF page number to the end of the PDF document
| |
ConvertToText(String, Int32) |
Converts the pages of a PDF file to text starting from a given PDF page number to the end of the PDF document
| |
ConvertToText(Byte, Int32, Int32) |
Converts a range of pages of a PDF document to text
| |
ConvertToText(Stream, Int32, Int32) |
Converts a range of pages of a PDF document in a stream to text
| |
ConvertToText(String, Int32, Int32) |
Converts a range of pages of a PDF file to text
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindText(Byte, String, Boolean, Boolean) |
Searches for a given text in all the pages of a PDF document
| |
FindText(Stream, String, Boolean, Boolean) |
Searches for a given text in all the pages of a PDF document in a stream
| |
FindText(String, String, Boolean, Boolean) |
Searches for a given text in all the pages of a PDF file
| |
FindText(Byte, String, Int32, Boolean, Boolean) |
Searches for a given text in PDF pages of a PDF document starting from a given PDF page number to the end of the PDF document
| |
FindText(Stream, String, Int32, Boolean, Boolean) |
Searches for a given text in PDF pages of a PDF document in a stream starting from a given PDF page number to the end of the PDF document
| |
FindText(String, String, Int32, Boolean, Boolean) |
Searches for a given text in PDF pages of a PDF file starting from a given PDF page number to the end of the PDF document
| |
FindText(Byte, String, Int32, Int32, Boolean, Boolean) |
Searches for a given text in a range of pages of a PDF document
| |
FindText(Stream, String, Int32, Int32, Boolean, Boolean) |
Searches for a given text in a range of pages of a PDF document in a stream
| |
FindText(String, String, Int32, Int32, Boolean, Boolean) |
Searches for a given text in a range of pages of a PDF file
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPageCount(Byte) |
Gets the number of PDF pages of a PDF document
| |
GetPageCount(Stream) |
Gets the number of pages of a PDF document in a stream
| |
GetPageCount(String) |
Gets the number of PDF pages of a PDF file
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also