User Tools

Site Tools


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

Table of Contents

TGIS_LayerVector.RenameField method

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

Renames a field.

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

Syntax

# Python
def RenameField(
  self,
  _name: str,
  _newname: str,
  _width: int,
  _decimal: int
) -> None: 

Parameters

Name Type Description
_name str name of field to be renamed
_newname str new name
_width int new width
_decimal int new decimal position

Remarks

Use this method to rename a field, which will be marked as changed and the final restructure will be performed upon save. UnRename can be performed by using RevertAll.

2023/08/09 01:57

Page Tools