SmartTagDef

SmartTagDef class

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

Constructors

NameDescription
SmartTagDefConstructor.

Properties

NameTypeDescription
NameStringThe name of the element.
NameUStringThe universal name of the element.
IDintThe unique ID of the element within its parent element.
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
XDoubleValueThe x-coordinate position in the shape’s local coordinates around which the smart tag button is placed.
YDoubleValueThe y-coordinate position in the shape’s local coordinates around which the smart tag button is placed.
TagNameStr2ValueIt contains the name of the smart tag that is used as a key to associate the smart tag with its actions.
XJustifyXJustifyThe x-offset of the smart tag button relative to the point defined by the X and Y elements.
YJustifyYJustifySpecifies the y-offset of the smart tag button relative to the point defined by the X and Y elements.
DisplayModeDisplayModeSmartTagDefDisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape
ButtonFaceStr2ValueIt contains the ID of the button face image that appears on the smart tag button.
DisabledBoolValueDisabled element determines whether the smart tag appears in the drawing window.
DescriptionStr2ValueDescription 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