GetLineNumberFromAddressPart (Method) - 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

Returns the line number that corresponds to a particular piece of an Address zone after intelligent address extraction has parsed the data. Returns zero if the zone is not an Address zone or if the requested address part is invalid.

Applicable Events

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

Syntax

object.GetLineNumberFromAddressPart(AddressPart)

Parameters

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

GetLineNumberFromAddressPart is the command.

AddressPart is a constant value chosen from the following list:

Value

Description

PART_NONE

Not an address component

PART_TITLE

Honorific Title

PART_FIRST

First Name

PART_MIDDLE

Middle Name

PART_LAST

Last Name

PART_COMPANY

Company Name

PART_ADDRESS1

Primary Delivery Line

PART_ADDRESS2

Secondary Address Line

PART_CITY

City

PART_STATE

State or Territory

PART_ZIP

Zip Code

PART_ZIP4

Zip Code Add On

PART_PHONE

Phone Number

PART_AUX1

Auxiliary 1

PART_AUX2

Auxiliary 2

PART_AUX3

Auxiliary 3

Example