SmartTagDef Element [Visio 2003 SDK Documentation]
Contains elements that contain information for each smart tag defined for a shape or page.
Syntax
<SmartTagDef
[Name]
[NameU]
[Del]
[ID]>
</SmartTagDef>
Attributes
Name
Optional string. The name of the element.
NameU
Optional string. The universal name of the element.
Del
Optional Boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.
ID
Optional int. The unique ID of the element within its parent element.
Element properties
Property | Value |
---|---|
Name | SmartTagDef |
Minimum Occurrences | 0 |
Maximum Occurrences | Unbounded |
Element information
Parent elements
Child elements
Remarks
The SmartTagDef element controls the appearance and position of smart tags in the drawing. By using the TagName element, you can associate each smart tag with an Act element, where menu items that appear on a smart tag menu are defined.
A single shape or page can contain multiple smart tags.
If a smart tag has no matching actions, the smart tag button appears and disappears as defined, but its menu is blank.
The SmartTagDef element is relevant only when contained in a Shape or PageSheet element. It is ignored when contained in a DocumentSheet or StyleSheet element.
See also
Smart Tags section