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

Use this method to close the connection to a particular application that was established via the CreateGlobalObject function. Otherwise, it stays resident in memory.

Applicable Events

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

Syntax

object.DeleteGobalObject (intUserAssignedValue, strProgramID)

Parameters

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

DeleteGobalObject is the command.

IntUserAssignedValue is a numerical value of your choice.

StrProgramID is the program ID. To locate program IDs, consult the application documentation.

Example

‘Delete object created via CreateGlobalObject

Application.DeleteGlobalObject 34, "ADSystemInfo"