APGen Documentation Previous Topic: @LANGUAGE Directive Next Topic: APGen Object Parent Topic: Active Page Generator Documentation    Active Page Generator Documentation
APGen Object Reference
See Also:

The APGen COM library exposes these COM objects and enums:

COM Objects

Only the APGen object can be created using CreateObject() or CoCreateInstance().

See APGen Object Model for a visual representation of these objects.

Object Description
APGen The APGen object encapsulates an Active Page Generator application.  It acts as a parent object for multiple APGScript objects, and specifies global settings for child APG scripts.
APGError The APGError object contains information about errors that may have occurred in an APG script.
APGScript The APGScript object is used for Programmatic Execution of APG scripts.
Collection The Collection object provides access to a collection of name-value pairs.
Log The Log object encapsulates logging functionality, including logging to a file, a stream, or the Windows NT Event Log.
Logon The Logon object lets developers specify a user account that is used when creating or modifying output files and log files.
ObjectContext The ObjectContext object provides access to the MTS or COM+ ObjectContext that the APG script may be running in.
Output The Output object encapsulates an output stream or file.  Generated content is sent through the Output object, to this stream or file.
Script The Script object encapsulates the currently running APG script.
ScriptArguments The ScriptArguments object provides access to a collection of argument values.
Util The Util object provides utility functions for APG scripts.

Enums

These enums are part of the APG script namespace.  No special includes or constants are required to use these named values within an APG script.

Enum Description
ApgLogFlags OR-able flags for the Log.Flags property.
ApgLogSeverityEnum Values to indicate the severity of an error or a log item.  Used in Log.Write() and APGError.Severity.
ApgScriptWaitEnum Values for Script.Wait().
ApgStatusDlgEnum Values to indicate how status dialog boxes should be displayed.  Used by the APGen.StatusDlg property.
OpenFileDialogFlags OR-able flags for Util.OpenFileDialog().