aspose.diagram
Class EventItem

Encapsulates an event code. An EventItem element can trigger two kinds of actions: it can run an add-on, or it can send a notification of the event to the calling program.

Constructor Summary
EventItem()
           Constructor.
 
Property Getters/Setters Summary
functiongetAction()
functionsetAction(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).
functiongetEnabled()
functionsetEnabled(value)
           Represents a flag indicating if the event is enabled or disabled. The value of the property is BOOL integer constant.
functiongetEventCode()
functionsetEventCode(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.
functiongetID()
functionsetID(value)
           The ID of the event.
functiongetTarget()
functionsetTarget(value)
           Specifies the target of an event.
functiongetTargetArgs()
functionsetTargetArgs(value)
           Specifies a string containing arguments to be sent to the target of an event.
 

Constructor Detail

EventItem

function EventItem()
Constructor.

Property Getters/Setters Detail

getID/setID : Number 

function getID() / function setID(value)
The ID of the event.

getAction/setAction : Number 

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).

getEventCode/setEventCode : Number 

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.

getTarget/setTarget : String 

function getTarget() / function setTarget(value)
Specifies the target of an event.

getTargetArgs/setTargetArgs : String 

function getTargetArgs() / function setTargetArgs(value)
Specifies a string containing arguments to be sent to the target of an event.

getEnabled/setEnabled : Number 

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.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.