DocumentVariable_ExportValue
Exports the value that is contained in the specified Document-level variable.
Syntax
bool DocumentVariable_ExportValue (StrParam)
Parameters
Document Variable Name.Returns
Always True.Level
Document, Page or Field level.Details
Exports the value that is contained in the specified Document-level variable.- Example
A number of techniques can add variables to a Document object of the Document Hierarchy. These variables are listed as properties of the object in the Document Hierarchy Setup window.
The following example reads the value that is assigned to the PageCount Document variable and places it in the Export file.
DocumentVariable_ExportValue("PageCount")