User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.getfield_string

TGIS_Shape.GetField method

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

Retrieving data from associated data table.

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

Syntax

// Delphi
public
  function GetField(
    const _name : String
  ) : Variant; virtual;
// C++ Builder
public:
  virtual Variant* GetField(
    const UnicodeString _name
  );

Parameters

Name Type Description
_name String field name

Result

Type Description
Variant Field value. If field value is Null then function will return default value. GetFieldEx will return raw value instead.

Remarks

by providing empty field the join (if any exists) will be resynchronized
See TGIS_LayerVector.DrawLabel for example.

References

2022/11/16 01:22

Page Tools