ApplyEditMask (Method) - ApplyEditMask (Method) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external - AnyDoc/OCR-for-AnyDoc/Foundation-23.1/OCR-for-AnyDoc-Programming-Reference-Guide/VBScript-Objects-Properties-and-Methods/Individual-Object-Methods/ApplyEditMask-Method - 2023-11-17

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License
ft:locale
en-US

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"