DK11 for Python | tatukgis.pdk.TGIS_LayerVector.AddField | Constructors | Methods | Properties | Events
Adds a new field.
# Python def AddField( self, _name: str, _type: TGIS_FieldType, _width: int, _decimal: int ) -> None:
Name | Type | Description |
---|---|---|
_name | str | name of field to be added |
_type | 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; |