Add a document

The following diagram shows the sequence of events initiated by the "Add Document" user operation. In the BeforeAddDocument event and in each BeforeAddPage event, the user interaction can be canceled. To verify if the opening module is the current module please use the Project.ScriptExecutionMode property.


A visual representation of the Add Document event sequence.