Occurs before closing a SnapDocument.
public event DocumentClosingEventHandler DocumentClosing
Public Event DocumentClosing As DocumentClosingEventHandler
The DocumentClosing event's data class is DocumentClosingEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.|
|Handled||Specifies whether or not the SnapControl.DocumentClosing event was handled.|
|InterimDataSources||Provides access to the interim document data sources that have been created by an end-user during a document editing session.|
Handle this event to obtain interim document data sources that have been created by an end-user (e.g., to save them for another document editing session) via the DocumentClosingEventArgs.InterimDataSources property.