IsSample (Property) - 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

Read-only. Based on the SetSampleRate method. Returns True each time the sample rate is met.

Applicable Events

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

Syntax

If.object.IsSample = true, then

Parameters

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

IsSample is the command.

Example

In the example below the SetSampleRate is 40, so IsSample returns True four out of ten times.

Application.SetSampleRate (40)

S = “”

For I = 1 to 10

If Application.IsSample = True then

S = s & “Y”

Else

S = s & “N”

End if

Next

MsgBox s