User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.addfieldinternal_string_tgis_fieldtype_integer_integer

Table of Contents

TGIS_LayerVector.AddFieldInternal(String; TGIS_FieldType; Integer; Integer) method

DK11 for Delphi | GisLayerVector.TGIS_LayerVector.AddFieldInternal | Overloads | Constructors | Fields | Methods | Properties | Events

Add new field.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure AddFieldInternal(
    const _name : String;
    const _type : TGIS_FieldType;
    const _width : Integer;
    const _decimal : Integer
  ); overload; virtual;
// C++ Builder
public:
  virtual void AddFieldInternal(
    const UnicodeString _name,
    TGIS_FieldType* const _type,
    const int _width,
    const int _decimal
  ) /* overload */;

Parameters

Name Type Description
_name String name of field to be add
_type TGIS_FieldType type of field
_width Integer width of field
_decimal Integer decimal places

Remarks

This method is used only for internal use on layer reading.

2019/02/08 01:16