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: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public class PdfToTextConverter
Inheritance
Object    PdfToTextConverter

Constructors

PdfToTextConverter Constructs a PDF to Text converter which will connect to localhost on the default port
PdfToTextConverter(String) Constructs a PDF to Text converter which will connect to the server specified by IP or by name on the default port
PdfToTextConverter(Boolean, String) Constructs a PDF to Text converter which will connect to a web service URL
PdfToTextConverter(String, UInt32) Constructs a PDF to Text converter which will connect to the server specified by IP or by name on the specified port

Properties

AddHtmlMetaTags A flag indicating if the converter should wrap the resulted text in a HTML document. The default value is false
ClientProxy You can set this property with an object implementing the IWebProxy interface to be used when accessing the server through a proxy server. This property does not have any effect when using a TCP Service
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
Port The server port number
RunTimeoutSec The maximum time allowed for this tool to run
Server The server IP or name
ServicePassword Gets or sets the HTML to PDF converter service password. You have to set this property if the HTML to PDF service is password protected.
UserPassword The user password to be used to open a password protected PDF document
UseWebService A flag indicating if the client library will call the Web service or the TCP service to perform the operation
WebServiceUrl The web service URL

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
EqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
FinalizeAllows 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
GetHashCodeServes 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
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also