←Select platform

DetectNativeFillMethod Method

Summary

Detects the native type of zone text in this IOcrPage.

Syntax

C#
VB
Java
Objective-C
C++
public NativeOcrZoneFillMethod DetectNativeFillMethod() 
Function DetectNativeFillMethod() As Leadtools.Ocr.NativeOcrZoneFillMethod 
- (LTNativeOcrZoneFillMethod)detectNativeFillMethod; 
public NativeOcrZoneFillMethod detectNativeFillMethod() 
Leadtools.Ocr.NativeOcrZoneFillMethod DetectNativeFillMethod();  

Return Value

An NativeOcrZoneFillMethod enumeration member that specifies the type of text in this IOcrPage.

Remarks

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:

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

Note, you must either add zones manually or automatically to this page (with AutoZone) before you can call DetectNativeFillMethod.

To update the zones of this IOcrPage with the detected fill method, use UpdateNativeFillMethod

Note: This method will always return NativeOcrZoneFillMethod.Defaultfor the LEADTOOLS OCR Module - LEAD Engine since this engine doesn't support fill methods.

Requirements

Target Platforms

Help Version 20.0.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly