Click or drag to resize

PdfToTextConverter Methods

The PdfToTextConverter type exposes the following members.

Methods
 NameDescription
Public methodClose Releases the PDF document read by the last call. The object can be used again afterwards.
Public methodConvertToText(Stream) Converts a PDF document stream to a string.
Public methodConvertToText(String) Converts a PDF file to a string.
Public methodConvertToTextPages(Stream) Extracts the text of a PDF document stream page by page: one string for each page, in one call.
Public methodConvertToTextPages(String) Extracts the text of a PDF file page by page: one string for each page, in one call.
Public methodDispose Releases the PDF document read by the last call; the same as Close. Use the object in a using block.
Public methodExtractTextAtCoords(Stream, Int32, Double, Double, Double, Double) Extracts the text from the specified page and coordinates.
Public methodExtractTextAtCoords(String, Int32, Double, Double, Double, Double) Extracts the text from the specified page and coordinates.
Public methodExtractTextPositions(Stream, String, Boolean, Boolean) Searches for a text into a PDF document specified by a Stream.
Public methodExtractTextPositions(String, String, Boolean, Boolean) Searches for a text into a PDF file.
Public methodGetDocumentInformation(Stream) Gets the document information (title, subject, keywords, author, creator, producer, dates, the number of pages and the size and rotation of each page) of the specified PDF stream, without extracting its text.
Public methodGetDocumentInformation(String) Gets the document information (title, subject, keywords, author, creator, producer, dates, the number of pages and the size and rotation of each page) of the specified PDF file, without extracting its text.
Public methodGetPageCount(Stream) Gets the number of pages in the specified PDF stream.
Public methodGetPageCount(String) Gets the number of pages in the specified PDF file.
Public methodSearchTexts(Stream, String, Boolean, Boolean) Searches a PDF document specified by a Stream for several texts at once.
Public methodSearchTexts(String, String, Boolean, Boolean) Searches a PDF file for several texts at once.
Top
See Also