Winnovative PDF to Text Documentation

PdfToTextConverter Class

Winnovative PDF to Text
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

SystemObject
  Winnovative.PdfToTextPdfToTextConverter

Namespace:  Winnovative.PdfToText
Assembly:  WnvPdfToText (in WnvPdfToText.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public class PdfToTextConverter

The PdfToTextConverter type exposes the following members.

Constructors

  NameDescription
Public methodPdfToTextConverter
PDF to Text constructor
Top
Properties

  NameDescription
Public propertyAddHtmlMetaTags
A flag indicating if the converter should wrap the resulted text in a HTML document. The default value is false
Public propertyHtmlCharset
The charset of the HTML document wrapping the resulted text
Public propertyImpersonationOptions
The impersonation options used during tool execution
Public propertyLayout
The text layout in the resulted text document
Public propertyLicenseKey
Gets or sets the license key string received from vendor. If this property is null the tool will automatically enter in evaluation mode
Public propertyMarkPageBreaks
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
Public propertyOwnerPassword
The owner password to be used to open a password protected PDF document
Public propertyStatic memberPAGE_BREAK_MARK
The special character to mark the PDF pages in the resulted PDF document
Public propertyPdfDocumentInfo
Gets the object encapsulating the PDF document properties. This objects is populated after tool execution finished
Public propertyPdfToolFullPath
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
Public propertyRunTimeoutSec
The maximum time allowed for this tool to run
Public propertyUserPassword
The user password to be used to open a password protected PDF document
Top
Methods

  NameDescription
Public methodConvertToText(Byte)
Converts all the pages in a PDF document to text
Public methodConvertToText(Stream)
Converts all the pages of PDF document in a stream to text
Public methodConvertToText(String)
Converts all the pages of a PDF file to text
Public methodConvertToText(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
Public methodConvertToText(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
Public methodConvertToText(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
Public methodConvertToText(Byte, Int32, Int32)
Converts a range of pages of a PDF document to text
Public methodConvertToText(Stream, Int32, Int32)
Converts a range of pages of a PDF document in a stream to text
Public methodConvertToText(String, Int32, Int32)
Converts a range of pages of a PDF file to text
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindText(Byte, String, Boolean, Boolean)
Searches for a given text in all the pages of a PDF document
Public methodFindText(Stream, String, Boolean, Boolean)
Searches for a given text in all the pages of a PDF document in a stream
Public methodFindText(String, String, Boolean, Boolean)
Searches for a given text in all the pages of a PDF file
Public methodFindText(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
Public methodFindText(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
Public methodFindText(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
Public methodFindText(Byte, String, Int32, Int32, Boolean, Boolean)
Searches for a given text in a range of pages of a PDF document
Public methodFindText(Stream, String, Int32, Int32, Boolean, Boolean)
Searches for a given text in a range of pages of a PDF document in a stream
Public methodFindText(String, String, Int32, Int32, Boolean, Boolean)
Searches for a given text in a range of pages of a PDF file
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPageCount(Byte)
Gets the number of PDF pages of a PDF document
Public methodGetPageCount(Stream)
Gets the number of pages of a PDF document in a stream
Public methodGetPageCount(String)
Gets the number of PDF pages of a PDF file
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference