PdfToTextConverter Class

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

Definition

Namespace: EvoPdf.PdfToText
Assembly: EvoPdfToText_NetCore (in EvoPdfToText_NetCore.dll) Version: 14.0.0
C#
public class PdfToTextConverter
Inheritance
Object    PdfToTextConverter

Constructors

PdfToTextConverter PDF to Text constructor

Properties

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

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
(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
(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
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also