Visual Basic (Declaration) | |
---|---|
Overridable Sub UpdateFillMethod() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
virtual void UpdateFillMethod() |
C++/CLI | |
---|---|
virtual 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family