ImageGear .NET - Updated
ExtractText Method (ImGearPDFDocument)




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocument Class : ExtractText Method
Start page index.
Page count.
Context options.
Output stream.
Extracts text from the document.
Syntax
'Declaration
 
Public Sub ExtractText( _
   ByVal startPageNumber As Integer, _
   ByVal pageCount As Integer, _
   ByVal options As ImGearPDFContextFlags, _
   ByVal outputStream As Stream _
) 
'Usage
 
Dim instance As ImGearPDFDocument
Dim startPageNumber As Integer
Dim pageCount As Integer
Dim options As ImGearPDFContextFlags
Dim outputStream As Stream
 
instance.ExtractText(startPageNumber, pageCount, options, outputStream)
public void ExtractText( 
   int startPageNumber,
   int pageCount,
   ImGearPDFContextFlags options,
   Stream outputStream
)
public: void ExtractText( 
   int startPageNumber,
   int pageCount,
   ImGearPDFContextFlags options,
   Stream* outputStream
) 
public:
void ExtractText( 
   int startPageNumber,
   int pageCount,
   ImGearPDFContextFlags options,
   Stream^ outputStream
) 

Parameters

startPageNumber
Start page index.
pageCount
Page count.
options
Context options.
outputStream
Output stream.
Remarks
In order to obtain more information about the extracted words such as page, position, color, and styles, use ImGearPDFWordFinder instead.
See Also

Reference

ImGearPDFDocument Class
ImGearPDFDocument Members
ImGearPDFDictionary Class
ImGearPDFContextFlags Enumeration
ImGearPDFWordFinder Class