
## SmartTagDef class

Contains elements that contain information for each smart tag defined for a shape or page.

## Constructors

| Name | Description |
| --- | --- |
| [SmartTagDef](#constructor) | Constructor. |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Name](#name) | String | The name of the element. |
| [NameU](#nameu) | String | The universal name of the element. |
| [ID](#id) | int | The unique ID of the element within its parent element. |
| [Del](#del) | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [X](#x) | DoubleValue | The x-coordinate position in the shape's local coordinates around which the smart tag button is placed. |
| [Y](#y) | DoubleValue | The y-coordinate position in the shape's local coordinates around which the smart tag button is placed. |
| [TagName](#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) | XJustify | The x-offset of the smart tag button relative to the point defined by the X and Y elements. |
| [YJustify](#yjustify) | YJustify | Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements. |
| [DisplayMode](#displaymode) | DisplayModeSmartTagDef | DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape |
| [ButtonFace](#buttonface) | Str2Value | It contains the ID of the button face image that appears on the smart tag button. |
| [Disabled](#disabled) | BoolValue | Disabled element determines whether the smart tag appears in the drawing window. |
| [Description](#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}

Constructor.

### SmartTagDef.Name property {#name}

The name of the element.

**Type:** String

### SmartTagDef.NameU property {#nameu}

The universal name of the element.

**Type:** String

### SmartTagDef.ID property {#id}

The unique ID of the element within its parent element.

**Type:** int

### SmartTagDef.Del property {#del}

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 {#x}

The x-coordinate position in the shape's local coordinates around which the smart tag button is placed.

**Type:** DoubleValue

### SmartTagDef.Y property {#y}

The y-coordinate position in the shape's local coordinates around which the smart tag button is placed.

**Type:** DoubleValue

### SmartTagDef.TagName property {#tagname}

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 {#xjustify}

The x-offset of the smart tag button relative to the point defined by the X and Y elements.

**Type:** XJustify

### SmartTagDef.YJustify property {#yjustify}

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}

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 {#buttonface}

It contains the ID of the button face image that appears on the smart tag button.

**Type:** Str2Value

### SmartTagDef.Disabled property {#disabled}

Disabled element determines whether the smart tag appears in the drawing window.

**Type:** BoolValue

### SmartTagDef.Description property {#description}

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
