←Select platform

Pages Property

Summary

Allows you to add, remove or update image (raster) pages in the OCR document.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public IOcrPageCollection Pages { get; } 
ReadOnly Property Pages As Leadtools.Forms.Ocr.IOcrPageCollection 
@property (nonatomic, strong, readonly) LTOcrPageCollection *pages 
public OcrPageCollection getPages() 
get_Pages();  

Property Value

The IOcrPageCollection object that allow you to add, remove or update image (raster) pages in the OCR document.

Remarks

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.

Example

For an example, refer to IOcrPageCollection.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly