User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_layersqlogisabstract.macroaddfield_string_string_tgis_fieldtype_integer_integer_boolean_integer

Table of Contents

TGIS_LayerSqlOgisAbstract.macroAddField(java.lang.String, java.lang.String, TGIS_FieldType, int, int, bool, int) method

DK11 for Java | tatukgis.jdk.TGIS_LayerSqlOgisAbstract.macroAddField | Overloads | Constructors | Fields | Methods | Properties

Add new field.

Available also on: Delphi | .NET.

Syntax

// Java
protected void macroAddField(
  java.lang.String _uidname,
  java.lang.String _name,
  TGIS_FieldType _type,
  int _width,
  int _decimal,
  bool _saved,
  int _binary
);
// Oxygene
protected
  procedure macroAddField(
    _uidname : String;
    _name : String;
    _type : TGIS_FieldType;
    _width : Integer;
    _decimal : Integer;
    _saved : Boolean;
    _binary : Integer
  );

Parameters

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

Remarks

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

2019/02/08 01:23

Page Tools