DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.GetLabel | Methods | Properties
Returns the formatted label text for the current shape, including markup generated by the labeling expression.
// C# public WideString GetLabel();
' VisualBasic Public Function GetLabel() As WideString
// Oxygene public function GetLabel : WideString;
| Type | Description |
|---|---|
| WideString | Label text for the current shape, including formatting markup when defined by the layer labeling rules. |
PURPOSE: Retrieve the display label for the current shape using the layer label expression and field substitution rules.
BEHAVIOR: Evaluates the active label expression for the current shape and returns the resulting text with any supported markup preserved.
CONSTRAINTS: The result depends on the current shape context and layer labeling configuration. Use GetLabelPlain for a plain-text version.