Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > IOcrDocument Interface : Pages Property |
IOcrPageCollection Pages {get;}
'Declaration
ReadOnly Property Pages As IOcrPageCollection
'Usage
Dim instance As IOcrDocument Dim value As IOcrPageCollection value = instance.Pages
IOcrPageCollection Pages {get;}
@property (nonatomic, strong, readonly) LTOcrPageCollection *pages
public OcrPageCollection getPages()
get_Pages();
property IOcrPageCollection^ Pages { IOcrPageCollection^ get(); }
Pages is a standard .NET collection of IOcrPage objects. Through this member you can add, remove or update image (raster) pages to the OCR document. These pages can be image files on disk, memory or even in a remote URL.
In memory-based IOcrDocument, the IOcrPageCollection holds the pages. The user can recognize any or all of the pages at any time and pages can be added or removed at will.
In file-based IOcrDocument, the IOcrPageCollection is a store-only view of the pages. when page is added, a snap shot of the current recognition data is saved into the document. This data cannot be modified any more and the page is no longer needed. The user must recognize the pages before they are added to the document and pages can only be added but not removed. In this mode, you can only use IOcrPageCollection.Add and IOcrPageCollection.Count. No other method or property is supported.
Any file format supported by LEADTOOLS (TIFF, JPEG, BMP, etc) can be loaded into the OCR document. Once the image is loaded into the document, use the various IOcrPage methods to zone the page (or pages) in preparation to be recognized and saved as a document.
You can also convert to and from any of the pages added to the OCR document to a LEADTOOLS RasterImage for use with other LEADTOOLS for .NET assemblies such as TWAIN scanning, image processing, MRC, etc.
For more information refer to IOcrPageCollection and IOcrPage.
IOcrDocument Interface
IOcrDocument Members
Leadtools.Forms.DocumentWriters.DocumentFormat
IOcrDocumentManager Interface
IOcrDocument.Save
IOcrDocument.SaveXml
IOcrDocument.SaveAsync
IOcrDocument.SaveXmlAsync
IOcrPage.Recognize
IOcrEngine Interface
OcrEngineManager Class
OcrEngineType Enumeration
Programming with the LEADTOOLS .NET OCR
Files to be Included with Your Application