LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

UpdateFillMethod(Int32,Int32) Method






The zero-based index of the first page to update.
The zero-based index of the last page to update. A value of -1 means update up to and including the last page in the OCR document.
Update the type of text in the zones for all the pages in the OCR document. .NET support
Syntax
void UpdateFillMethod( 
   int firstPageIndex,
   int lastPageIndex
)
'Declaration
 
Overloads Sub UpdateFillMethod( _
   ByVal firstPageIndex As Integer, _
   ByVal lastPageIndex As Integer _
) 
'Usage
 
Dim instance As IOcrPageCollection
Dim firstPageIndex As Integer
Dim lastPageIndex As Integer
 
instance.UpdateFillMethod(firstPageIndex, lastPageIndex)
void UpdateFillMethod( 
   int firstPageIndex,
   int lastPageIndex
)
function Leadtools.Forms.Ocr.IOcrPageCollection.UpdateFillMethod(Int32,Int32)( 
   firstPageIndex ,
   lastPageIndex 
)
void UpdateFillMethod( 
   int firstPageIndex,
   int lastPageIndex
) 

Parameters

firstPageIndex
The zero-based index of the first page to update.
lastPageIndex
The zero-based index of the last page to update. A value of -1 means update up to and including the last page in the OCR document.
Remarks

For more information on fill method updating of a page, refer to IOcrPage.UpdateFillMethod.

This method will iterate through the pages between firstPageIndex and lastPageIndex and run IOcrPage.UpdateFillMethod on each page.

To update the fill method of all the pages in the OCR document use UpdateFillMethod().

Note: This method is not supported in the LEADTOOLS OCR Advantage Engine, any call to this method will have no effect.

Example
For an example, refer to IOcrPage.AutoZone.
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

IOcrPageCollection Interface
IOcrPageCollection Members
Overload List
IOcrPage.UpdateFillMethod
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Recognize
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices

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

UpdateFillMethod(Int32,Int32) requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features