IWxShape.Tag

Syntax

Tag: Variant;

Description

The Tag property is not used by the compiler. The property can be determined and used as required.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

Shape: IWxShape;

Size: IGxSizeF;

Begin

ws.BeginUpdate;

Shape := ws.Shapes.Item(1);

Shape.Angle := 40;

Size := New GxSizeF.Create(43,78);

Shape.Size := Size;

Shape.Tag := "Shape size and shape angle have been changed";

ws.EndUpdate;

End Sub UserProc;

After executing the example the shape size and shape angle are changed and the Tag property displays a comment on these operations.

See also:

IWxShape