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 Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrPage Interface : UpdateFillMethod Method



Update the type of text in the zones of this IOcrPage.

Syntax

Visual Basic (Declaration) 
Overridable Sub UpdateFillMethod() 
Visual Basic (Usage)Copy Code
Dim instance As IOcrPage
 
instance.UpdateFillMethod()
C# 
virtual void UpdateFillMethod()
C++/CLI 
virtual void UpdateFillMethod(); 

Example

For an example, refer to AutoZone.

Remarks

This method tries to determine the type of the text in the zones of this IOcrPage (e.g. handprinted, machine printed or dot-matrix printed text). This method only looks into zones having the OcrZoneFillMethod.Default value in their OcrZone.FillMethod property. When a zone with this qualification is found, this method will update the following:

If the detection was unsuccessful, both properties of the zone remain intact.

The types of zones that can be detected with this method are:

  1. OcrZoneFillMethod.OmniFont
  2. OcrZoneFillMethod.DraftDotMatrix9
  3. OcrZoneFillMethod.DraftDotMatrix24
  4. OcrZoneFillMethod.Icr
  5. OcrZoneFillMethod.NoRecognition

To detect the global fill method of a page, use DetectFillMethod

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 requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features