BoxCount (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. Returns the number of OMR boxes in the given OMR zone. This property shows how many boxes there are, so you can cycle through them looking for hits.

Applicable Events

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

Syntax

object.BoxCount

Parameters

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

BoxCount is the command.

Example

'BoxCount is usually used so that you can

'For/Next thru each of the boxes, to see how

'many hits, and so on.

intNoOfHits = 0

For xx = 1 To This.BoxCount

If This.Box(xx).checked Then

intNoOfHits = intNoOfHits + 1

End If

Next

MsgBox intNoOfHits & " box(es) were selected."