Constructor Summary |
---|
EventItem()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
function | getAction() | |
function | setAction(value) | |
Specifies the action code of the parent EventItem element.For an EventItem element to be saved in a DatadiagramML file, it must be persistable. Currently, the only valid action code a persistable event can have is 1 (ONEVENT_ACT_RUNADDON). | ||
function | getEnabled() | |
function | setEnabled(value) | |
Represents a flag indicating if the event is enabled or disabled. The value of the property is BOOL integer constant. | ||
function | getEventCode() | |
function | setEventCode(value) | |
A code indicating the event that triggers the add-on. For more information on event codes, see Event Codes in the Microsoft Visio 2007 Automation Reference. | ||
function | getID() | |
function | setID(value) | |
The ID of the event. | ||
function | getTarget() | |
function | setTarget(value) | |
Specifies the target of an event. | ||
function | getTargetArgs() | |
function | setTargetArgs(value) | |
Specifies a string containing arguments to be sent to the target of an event. |
Constructor Detail |
---|
function EventItem()
Property Getters/Setters Detail |
---|
getID/setID : Number | |
function getID() / function setID(value) |
getAction/setAction : Number | |
function getAction() / function setAction(value) |
getEventCode/setEventCode : Number | |
function getEventCode() / function setEventCode(value) |
getTarget/setTarget : String | |
function getTarget() / function setTarget(value) |
getTargetArgs/setTargetArgs : String | |
function getTargetArgs() / function setTargetArgs(value) |
getEnabled/setEnabled : Number | |
function getEnabled() / function setEnabled(value) |