Delete a document

The following diagram shows the sequence of events initiated by the user request to delete a document. In the BeforeDeleteDocument 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 Delete Document event sequence.