Objects - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

OCR for AnyDoc
Foundation 23.1

Objects are unlike typical variables; they allow you to access their functionality via specific properties and methods.

You can reference an object in OCR for AnyDoc in one of three ways:

  • By the keyword This,

  • By the assigned zone name (in Data Definition parameters),

  • Or by the default zone name (if you did not assign a zone name).

Of the three ways to reference a zone, the first is the most portable. If you want to cut and paste scripts from one field to the next, you do not need to rename the referenced object. Referencing an object with Form.Zone(#) is recommended, however, because it requires the least amount of interpretation by the compiler.