Leadtools.Forms.Ocr Namespace > IOcrPage Interface : DetectFillMethod Method |
OcrZoneFillMethod DetectFillMethod()
'Declaration Function DetectFillMethod() As OcrZoneFillMethod
'Usage Dim instance As IOcrPage Dim value As OcrZoneFillMethod value = instance.DetectFillMethod()
OcrZoneFillMethod DetectFillMethod()
- (LTOcrZoneFillMethod)detectFillMethod;
public OcrZoneFillMethod detectFillMethod()
function Leadtools.Forms.Ocr.IOcrPage.DetectFillMethod()
OcrZoneFillMethod DetectFillMethod();
This method tries to determine the type of the text in the IOcrPage globally (e.g. hand printed, machine printed or dot-matrix printed text).
This method is useful when this is a page with an unknown or uncertain type of text. (This case quite often occurs when you work with filled forms.) The types of zones that can be detected with this method are:
Note, you must either add zones manually or automatically to this page (with AutoZone) before you can call DetectFillMethod.
To update the zones of this IOcrPage with the detected fill method, use UpdateFillMethod
Note: This method will always return OcrZoneFillMethod.Defaultfor the LEADTOOLS OCR Advantage Engine since this engine doesn't support fill methods.