Setting Cells in the Event Section of ShapeSheet
Contents
[
Hide
]
Using Aspose.Diagram API, developers can define how a shape responds to specific user actions by writing Visio formulas that handle events automatically. Whenever the user performs one of the four actions described as below, the formula in the corresponding ShapeSheet cell is evaluated.
- TheText - An event element that is evaluated when a shape’s text or text composition changes.
- EventXFMod - The shape’s position, size, or orientation on the page is changed.
- EventDblClick - The shape is double-clicked.
- EventDrop - A new instance is created by pasting, duplicating, or dragging a shape, or by dragging and dropping a master.
- EventMultiDrop - when multiple new instances are created by pasting, duplicating, or dragging a shape, or by dragging and dropping a master.
- TheData - Reserved for future use.
Setting Event Cells
Event class allows developers to set event cells in the ShapeSheet. This help topic demonstrates how developers can set formulas in the event cells: