Document Events (Visio)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
This object has the following events:
Events
Name |
Description |
---|---|
Occurs when Visio incorporates changes from other users? versions of a document into a merged, co-authored document. |
|
Occurs when hidden information is removed from the document. |
|
Occurs before a DataRecordset object is deleted from the DataRecordsets collection. |
|
Occurs before a document is closed. |
|
Occurs before a document is saved. |
|
Occurs just before a document is saved by using the Save As command. |
|
Occurs before a master is deleted from a document. |
|
Occurs before a page is deleted. |
|
Occurs before selected objects are deleted. |
|
Occurs before a shape is opened for text editing in the user interface. |
|
Occurs before a style is deleted. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelConvertToGroup event. |
|
Occurs when a DataRecordset object is added to a DataRecordsets collection. |
|
Occurs before a document enters design mode. |
|
Occurs after certain properties of a document are changed. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelDocumentClose event. |
|
Occurs after a document is created. |
|
Occurs after a document is opened. |
|
Occurs after a document is saved. |
|
Occurs after a document is saved by using the Save As command. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelGroup event. |
|
Occurs after a new master is added to a document. |
|
Occurs after properties of a master are changed and propagated to its instances. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelMasterDelete event. |
|
Occurs after a new page is added to a document. |
|
Occurs after the name of a page, the background page associated with a page, or the page type (foreground or background) changes. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelPageDelete event. |
|
Occurs before the application converts a selection of shapes to a group in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application closes a document in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application groups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a master in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a page in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a style in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application ungroups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs when a rule set is validated. |
|
Occurs after a document enters run mode. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelSelectionDelete event. |
|
Occurs after one or more shapes are added to a document. |
|
Occurs after a data graphic is applied to or deleted from a shape. |
|
Occurs after a shape is no longer open for interactive text editing. |
|
Occurs after shapes are grouped or a group is ungrouped. |
|
Occurs after a new style is added to a document. |
|
Occurs after the name of a style is changed or a change to the style propagates to objects to which the style is applied. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelStyleDelete event. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelUngroup event. |