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

Clears the questionable status from the characters in the given object. The data does not change as a result of this function, only the questionable status of the characters is removed.

Applicable Events

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

Syntax

object.ClearQuesChars

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).

ClearQuesChars is the command.

Example

'Code sample to show clearing questionables if the data matches a mask

If This.MatchesEditMask("AAA999") Then

If This.QuesCharCount > 0 Then

This.ClearQuesChars

End If

Else

This.Flagged = True

This.CustomMessage = "Does not match mask AAA999 - please correct."

End If