DocumentObject.<Document name>.BeforeDelete
Syntax:
Parameters:
<Cancel>
Document delete flag. If in the body of the handler procedure a value of this parameter is set to True, document deletion will not be executed.
Default value: False.
Description: