Triggered immediately after AutoCAD receives a request to close a drawing.
See Also | Example
An object expression that evaluates to a valid container object. In this case, the only valid containers are the application and a document.
You should use the BeginDocClose event rather than the BeginClose event because the BeginDocClose event enables you to keep a drawing from being closed.
No events occur while a modal dialog is displayed.