Winnovative Logo

PdfToTextConverter Class

Winnovative Client for .NET Core
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
  WinnovativeClientPdfToTextConverter

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public class PdfToTextConverter

The PdfToTextConverter type exposes the following members.

Constructors

  NameDescription
Public methodPdfToTextConverter
Constructs a PDF to Text converter which will connect to localhost on the default port
Public methodPdfToTextConverter(String)
Constructs a PDF to Text converter which will connect to the server specified by IP or by name on the default port
Public methodPdfToTextConverter(Boolean, String)
Constructs a PDF to Text converter which will connect to a web service URL
Public methodPdfToTextConverter(String, UInt32)
Constructs a PDF to Text converter which will connect to the server specified by IP or by name on the specified port
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 propertyClientProxy
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
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 propertyPort
The server port number
Public propertyRunTimeoutSec
The maximum time allowed for this tool to run
Public propertyServer
The server IP or name
Public propertyServicePassword
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.
Public propertyUserPassword
The user password to be used to open a password protected PDF document
Public propertyUseWebService
A flag indicating if the client library will call the Web service or the TCP service to perform the operation
Public propertyWebServiceUrl
The web service URL
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 (Inherited from Object.)
Protected methodFinalize (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 (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 (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference