ImageGear .NET v25.2 - Updated
ExtractText Method (ImGearWordDocument)




ImageGear.Formats.Office Assembly > ImageGear.Formats.Office Namespace > ImGearWordDocument Class : ExtractText Method
Start page index.
Page count.
The output stream.
Extraction options. If this parameter is null, default extraction options will be used.
Extracts plain text from the document.
Syntax
'Declaration
 
Public Sub ExtractText( _
   ByVal startPageNumber As Integer, _
   ByVal pageCount As Integer, _
   ByVal outputStream As Stream, _
   ByVal options As ImGearWordTextExtractionOptions _
) 
'Usage
 
Dim instance As ImGearWordDocument
Dim startPageNumber As Integer
Dim pageCount As Integer
Dim outputStream As Stream
Dim options As ImGearWordTextExtractionOptions
 
instance.ExtractText(startPageNumber, pageCount, outputStream, options)
public void ExtractText( 
   int startPageNumber,
   int pageCount,
   Stream outputStream,
   ImGearWordTextExtractionOptions options
)
public: void ExtractText( 
   int startPageNumber,
   int pageCount,
   Stream* outputStream,
   ImGearWordTextExtractionOptions* options
) 
public:
void ExtractText( 
   int startPageNumber,
   int pageCount,
   Stream^ outputStream,
   ImGearWordTextExtractionOptions^ options
) 

Parameters

startPageNumber
Start page index.
pageCount
Page count.
outputStream
The output stream.
options
Extraction options. If this parameter is null, default extraction options will be used.
See Also

Reference

ImGearWordDocument Class
ImGearWordDocument Members
ImGearWordTextExtractionOptions Class

Is this page helpful?
Yes No
Thanks for your feedback.