The UpdateFillMethod Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Update the type of text in the zones of this IOcrPage.Visual Basic (Declaration) | |
---|---|
Sub UpdateFillMethod() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrPage instance.UpdateFillMethod() |
C# | |
---|---|
void UpdateFillMethod() |
C++/CLI | |
---|---|
void UpdateFillMethod(); |
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:
- OcrZone.FillMethod will be updated to the detected value.
- OcrZone.RecognitionModule will be updated to OcrZoneRecognitionModule.Default.
If the detection was unsuccessful, both properties of the zone remain intact.
The types of zones that can be detected with this method are:
- OcrZoneFillMethod.OmniFont
- OcrZoneFillMethod.DraftDotMatrix9
- OcrZoneFillMethod.DraftDotMatrix24
- OcrZoneFillMethod.Icr
- 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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7