User Tools

Site Tools


Table of Contents

TGIS_LayerSqlOgisAbstract.macroAddField(String; String; TGIS_FieldType; Integer; Integer; Boolean; Integer) method

DK11 for Delphi | GisLayerSqlOgis.TGIS_LayerSqlOgisAbstract.macroAddField | Overloads | Constructors | Fields | Methods | Properties

Add new field.

Available also on: .NET | Java.


// Delphi
  procedure macroAddField(
    const _uidname : String;
    const _name : String;
    const _type : TGIS_FieldType;
    const _width : Integer;
    const _decimal : Integer;
    const _saved : Boolean;
    const _binary : Integer
  ); overload;
// C++ Builder
  void macroAddField(
    const UnicodeString _uidname,
    const UnicodeString _name,
    TGIS_FieldType* const _type,
    const int _width,
    const int _decimal,
    const bool _saved,
    const int _binary
  ) /* overload */;


Name Type Description
_uidname String name of uid field to be add
_name String name of field to be add
_type TGIS_FieldType type of field
_width Integer width of field
_decimal Integer decimal places
_saved Boolean True, if field exist in an original file
_binary Integer binary width (used only for TAB/DAT files)


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

2020/05/07 01:08

Page Tools