Description
Applies the OCR for AnyDoc crop mask routine to the data.
Applicable Events
Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.ApplyCropMask strMask [ , intExpectedFields ]
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).
ApplyCropMask is the command.
strMask is the crop mask to apply to the object. Crop mask characters you can use in OCR for AnyDoc are:
Character |
Description |
---|---|
R |
Retain character |
X |
Exclude character |
+ |
Wild card save (per word) |
– |
Wild card delete (per word) |
intExpectedFields is the number of expected fields. (Optional)
Example
'Apply Crop Mask
'Method
'Remove first character
This.ApplyCropMask "X+"