Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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 Overridable 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# 
virtual void UpdateFillMethod( 
   int firstPageIndex,
   int lastPageIndex
)
C++/CLI 
virtual 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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