Application object (Manager, Scan, Interpret, and Verify)
Example
Creates a new DocContent connected to the front or back page.
In the Scan, Interpret , and Verify modules, the DocContent is connected to the front or back-page image of the active form in either the source or the archive.
The source image is used if it exists. Source images are available in the module where form identification occurs, that is, in either Scan or Interpret (if the job imports image files).
If no source image exists, the archive (exported) image is used.
In the Manager module, it is connected to the front or back-page image of the active form definition.
[ReturnValue =] Object.CreateNewDocContent(PageNo)
Part: Object
Data type: Object
Description: An object expression evaluating to a FORMS OLE Manager, Scan, Interpret, or Verify Application.
Data type: DocContent (Object)
Description:
If the creation is successful, the new DocContent object is returned.
If the creation is not successful, NULL (Nothing) is returned.
If there are no source or archive images, or if called with PageNo=1 when the active form (or form definition in Manager) is single sided, it will fail and return NULL.
The DocContent object is stored in the Application and can be accessed by calling the GetDocContent method.