User Tools

Site Tools


Table of Contents

ITGIS_LayerVector.PrepareExportFieldNames method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVector.PrepareExportFieldNames | Methods | Properties

Prepares field names to export.

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


// C#
public void PrepareExportFieldNames(
  int _maxwidth
' VisualBasic
Public Sub PrepareExportFieldNames(
  ByVal _maxwidth As Integer
// Oxygene
  procedure PrepareExportFieldNames(
    _maxwidth : Integer


Name Type Description
_maxwidth int
max width of field; should be >= 4


Use this method to prepare an export of field names to meet maxwidth criteria. The procedure will also perform basic name adjustment (remove non-ascii letters, etc.).

If a field name is empty, then it will be named to 'FIELD'.

If first letter of the field is not alphanumeric, then the first letter will be changed to 'F'.

If a field is longer then a specified value, then the field will be truncated.

If a field after such changes already exists, then the field will be renamed to nameXX (where XX means 00, 01, etc. in hexadecimal).

2022/11/16 01:10

Page Tools