ApplyEditMask (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

Applies the OCR for AnyDoc edit mask routine to the data.

Applicable Events

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

Syntax

object.ApplyEditMask strMask

Parameters

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

ApplyEditMask is the command.

strMask is a string expression representing the edit mask to apply. The edit mask characters for OCR for AnyDoc are:

Character

Description

A

Alpha character only

9

Numeric character only

X

Alphanumeric character

@

Variable number of alpha characters only

Z

Variable number of numeric characters only

*

Variable number of alphanumeric characters

$

Variable number of numeric characters only in an amount field (including commas)

V

Implied Decimal Point (inserts a Decimal Point)

.

Fixed Decimal Point

Any other character in the edit mask, such as a dash, denotes a fixed character and is output.

Example

strResult = This.ApplyEditMask "zv99"