Event Object Members
Visio Automation Reference |
A member of the EventList collection of a source object such as a Document. An event encapsulates an event code.
Methods
Name | Description | |
---|---|---|
Delete | Deletes an object. | |
GetFilterActions | Returns an array of the filter actions set for the Event object. | |
GetFilterCommands | Returns an array of command ranges and a True or False value indicating how to filter events for that command range. | |
GetFilterObjects | Returns an array of object types and a True or False value indicating how to filter events for that object. | |
GetFilterSRC | Returns an array of cell ranges and a True or False value indicating whether you are filtering events for that range. | |
SetFilterActions | Specifies the extensions to the MouseMove event that Visio reports. | |
SetFilterCommands | Specifies an array of command ranges and a True or False value indicating how to filter events for each command range. | |
SetFilterObjects | Specifies an array of object types and a True or False value indicating how to filter events for each object. | |
SetFilterSRC | Specifies an array of cell ranges and a True or False value indicating how to filter events for each cell range. | |
Trigger | Causes an event's action to be performed. |
Properties
Name | Description | |
---|---|---|
Action | Gets or sets the action code of an Event object. Read/write. | |
Application | Read-only. Returns the instance of Microsoft Office Visio that is associated with an object. | |
Enabled | Determines whether or not an object is currently enabled. Read/write. | |
Event | Gets or sets the event code of an Event object—an event-action pair. When the event occurs, the action is performed. Read/write. | |
EventList | Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only. | |
ID | Gets the ID of an object. Read-only. | |
Index | Gets the ordinal position of an Event object in the EventList collection. Read-only. | |
ObjectType | Returns an object's type. Read-only. | |
Persistable | Determines whether an event can potentially persist within its document. Read-only. | |
Persistent | Determines whether or not an event persists with its document. Read/write. | |
Target | Gets or sets the target of an event. Read/write. | |
TargetArgs | Gets or sets the arguments to be sent to the target of an event. Read/write. |