SmartTagDef
SmartTagDef class
Contains elements that contain information for each smart tag defined for a shape or page.
Constructors
| Name | Description |
|---|---|
| SmartTagDef | Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| Name | String | The name of the element. |
| NameU | String | The universal name of the element. |
| ID | int | The unique ID of the element within its parent element. |
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| X | DoubleValue | The x-coordinate position in the shape’s local coordinates around which the smart tag button is placed. |
| Y | DoubleValue | The y-coordinate position in the shape’s local coordinates around which the smart tag button is placed. |
| TagName | Str2Value | It contains the name of the smart tag that is used as a key to associate the smart tag with its actions. |
| XJustify | XJustify | The x-offset of the smart tag button relative to the point defined by the X and Y elements. |
| YJustify | YJustify | Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements. |
| DisplayMode | DisplayModeSmartTagDef | DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape |
| ButtonFace | Str2Value | It contains the ID of the button face image that appears on the smart tag button. |
| Disabled | BoolValue | Disabled element determines whether the smart tag appears in the drawing window. |
| Description | Str2Value | Description element contains a string that describes the smart tag, which appears as a tool tip when the user pauses the |
SmartTagDef()
Constructor.
SmartTagDef.Name property
The name of the element.
Type: String
SmartTagDef.NameU property
The universal name of the element.
Type: String
SmartTagDef.ID property
The unique ID of the element within its parent element.
Type: int
SmartTagDef.Del property
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
Type: int
SmartTagDef.X property
The x-coordinate position in the shape’s local coordinates around which the smart tag button is placed.
Type: DoubleValue
SmartTagDef.Y property
The y-coordinate position in the shape’s local coordinates around which the smart tag button is placed.
Type: DoubleValue
SmartTagDef.TagName property
It contains the name of the smart tag that is used as a key to associate the smart tag with its actions.
Type: Str2Value
SmartTagDef.XJustify property
The x-offset of the smart tag button relative to the point defined by the X and Y elements.
Type: XJustify
SmartTagDef.YJustify property
Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements.
Type: YJustify
SmartTagDef.DisplayMode property
DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape is selected, or all the time.
Type: DisplayModeSmartTagDef
SmartTagDef.ButtonFace property
It contains the ID of the button face image that appears on the smart tag button.
Type: Str2Value
SmartTagDef.Disabled property
Disabled element determines whether the smart tag appears in the drawing window.
Type: BoolValue
SmartTagDef.Description property
Description element contains a string that describes the smart tag, which appears as a tool tip when the user pauses the mouse over the tag.
Type: Str2Value