←Select platform

AutoZone Method

Summary
Performs auto decomposition of all the pages in the OCR document to find the text and graphics zones using predefined parameters
Syntax
C#
VB
Objective-C
C++
Java
public void AutoZone( 
   OcrProgressCallback callback 
) 
Sub AutoZone( _ 
   ByVal callback As OcrProgressCallback _ 
)  
- (BOOL)autoZonePages:(nullable LTOcrProgressHandler)progressHandler 
                error:(NSError **)error 
public void autoZone(OcrProgressListener callback) 
void AutoZone(  
   OcrProgressCallback^ callback 
)  

Parameters

callback
Optional callback to show operation progress.

Remarks

For more information on auto zoning and decomposition, refer to IOcrPage.AutoZone.

This method will iterate through all the pages in this OCR document and run IOcrPage.AutoZone on each page.

You can use the OcrProgressCallback to show the operation progress or to abort it. For more information and an example, refer to OcrProgressCallback.

Example

For an example, refer to IOcrPageCollection.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.