LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
UpdateFillMethod(Int32,Int32) Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPageCollection Interface > UpdateFillMethod Method : UpdateFillMethod(Int32,Int32) Method



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.

The UpdateFillMethod(Int32,Int32) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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.
Update the type of text in the zones for all the pages in the OCR document.

Syntax

Visual Basic (Declaration) 
Overloads Sub UpdateFillMethod( _
   ByVal firstPageIndex As Integer, _
   ByVal lastPageIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As IOcrPageCollection
Dim firstPageIndex As Integer
Dim lastPageIndex As Integer
 
instance.UpdateFillMethod(firstPageIndex, lastPageIndex)
C# 
void UpdateFillMethod( 
   int firstPageIndex,
   int lastPageIndex
)
C++/CLI 
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.

Example

For an example, refer to IOcrPage.AutoZone.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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