Share via


Event.Action Property

Visio Automation Reference

Gets or sets the action code of an Event object. Read/write.

Version Information
 Version Added:  Visio 4.0

Syntax

expression.Action

expression   A variable that represents a Event object.

Return Value
Integer

Remarks

An Event object consists of an event-action pair; an event triggers an action. An action code is the numeric constant for the action that the event triggers.

Microsoft Office Visio supports the following action codes.

Constant Value

visActCodeRunAddon

1

visActCodeAdvise

2

See Also