Description This command retrieves the index of the configuration currently applied to the document. If the document is not in a configured state, the command returns -1.
Syntax curConfig = GetCurrentConfig()
Parameters curConfig (Long) Returned index of the configuration currently applied to the document. If the document is not in a configured state, this value is returned as -1.
Example The following example retrieves and prints the index of the configuration currently applied to the document.
Sub Main
Dim curConfig As Long curConfig = GetCurrentConfig() Print "Current configuration is " & curConfig
End Sub
See Also
|