Format (Property) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

Description

The expected input format for a name going into the NameParser object.

Applicable Events

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application, Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify, ZoneLink

Syntax

object.Format = strMask

Parameters

Object is a reference to the Nameparser object. For more information, see NameParser Object (page NameParser Object).

Format is the command.

strMask is the input mask for the name (F = first name, M = middle name, L = last name). For instance, the input mask for "Smith, John Q" would be "LFM."

Example

NameParser.NameField = MyZone.Value

NameParser.Format = "LFM"

If NameParser.Process Then

strFirst = NameParser.FirstNameField

End if