User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.getlabel_void

Table of Contents

TGIS_Shape.GetLabel method

DK11 for Delphi | GisLayerVector.TGIS_Shape.GetLabel | Constructors | Fields | Methods | Properties

Return label content (including expanded field values) etc. Label can contain HTML markup. To obtain label value without any formatting markers use GetLabelPlain.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function GetLabel : String; virtual;
// C++ Builder
public:
  virtual UnicodeString GetLabel(void);

Result

Type Description
String Text with possible formatting etc.

Remarks

  • The label value is valid and resolved only during the rendering process (must evaluate the sections based on the viewer current scale)
  • Returned value may represent the last used section from the parameters list.
2024/12/20 22:19

Page Tools