LEADTOOLS Forms (Leadtools.Forms.DocumentReaders assembly)
LEAD Technologies, Inc

ParsePageText Method






The requested page. Must be an existing page in the DocumentReader.Pages list and cannot be a a null reference.
Parses the text of the given page in the document.
Syntax
public DocumentPageText ParsePageText( 
   DocumentReaderPage page
)
'Declaration
 
Public Function ParsePageText( _
   ByVal page As DocumentReaderPage _
) As DocumentPageText
'Usage
 
Dim instance As DocumentObjectManager
Dim page As DocumentReaderPage
Dim value As DocumentPageText
 
value = instance.ParsePageText(page)
public DocumentPageText ParsePageText( 
   DocumentReaderPage page
)
 function Leadtools.Forms.DocumentReaders.DocumentObjectManager.ParsePageText( 
   page 
)
public:
DocumentPageText^ ParsePageText( 
   DocumentReaderPage^ page
) 

Parameters

page
The requested page. Must be an existing page in the DocumentReader.Pages list and cannot be a a null reference.

Return Value

An DocumentPageText object contains the text items of the page.
Remarks

You must call BeginParse before making any calls to ParsePageText in this document, otherwise, an exception will be thrown. When parsing is finished, the EndParsemethod needs to be called.

If this document is a raster document reader (the DocumentReader.ReaderType is DocumentReaderType.Raster), then parsing text will be performed using LEADTOOLS OCR. A valid Leadtools.Forms.Ocr.IOcrEngine object needs to be initialized, started and passed to the args parameter of BeginParse.

If this document is a PDF or XPS reader (DocumentReader.ReaderType is DocumentReaderType.Pdf or DocumentReaderType.Xps), then OCR is not required to parse the document text and any object passed in the parameter args will not be used.

Example

For an example, refer to DocumentObjectManager.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DocumentObjectManager Class
DocumentObjectManager Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features