User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.getfieldex_string_integer_boolean

Table of Contents

TGIS_Shape.GetFieldEx(String; Integer; Boolean) method

DK11 for Delphi | GisLayerVector.TGIS_Shape.GetFieldEx | Overloads | Constructors | Fields | Methods | Properties

Retrieving data from associated data table.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function GetFieldEx(
    const _name : String;
    const _cursor : Integer;
    const _rule : Boolean
  ) : Variant; overload; virtual;
// C++ Builder
public:
  virtual Variant* GetFieldEx(
    const UnicodeString _name,
    const int _cursor,
    const bool _rule
  ) /* overload */;

Parameters

Name Type Description
_name String field name
_cursor Integer cursor index
_rule Boolean True if filed rule should be expanded (like alias matching)

Result

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

Remarks

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

2020/05/07 01:09

Page Tools