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

Returns an array containing the list of defined layouts. This method uses an optional switch to indicate if the language should be included. If set to True, then the array will also contain the associated language and the array is a two dimensional array.

Applicable Events

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

Syntax

object.GetVerifyLayoutList

Parameters

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

GetVerifyLayoutList is the command.

Example

Dim arrLayout

arrLayout = Form.GetVerifyLayoutList()

'without language - 1 dim array

For I = 0 To UBound(arrLayout)

Application.AnyDocMessage "Layout " & I & " Is " & arrLayout(i)

Next

'with language - 2 dim array

arrLayout = Form.GetVerifyLayoutList(vbTrue)

For I = 0 To UBound(arrLayout)

Application.AnyDocMessage"Layout " & I & " Is " & arrLayout(I, 0) & " language " & arrLayout(I,1)

Next