User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_layervector.addfield_string_tgis_fieldtype_integer_integer

Table of Contents

TGIS_LayerVector.AddField method

DK11 for Python | tatukgis.pdk.TGIS_LayerVector.AddField | Constructors | Methods | Properties | Events

Adds a new field.

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

Syntax

# Python
def AddField(
  self
  _name: str
  _type: tatukgis.pdk.TGIS_FieldType
  _width: int
  _decimal: int
) -> None: 

Parameters

Name Type Description
_name str name of field to be added
_type tatukgis.pdk.TGIS_FieldType type of field
_width int width of field; not important for fields other then TGIS_FieldType.Number or TGIS_FieldType.String;
_decimal int decimal places; not important for fields other then TGIS_FieldType.Number;

References

2022/11/30 16:02

Page Tools