User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervector.prepareexportfieldnames_3_integer_wordbool_wordbool

Table of Contents

ITGIS_LayerVector.PrepareExportFieldNames_3 method

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

Prepares field names to export.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void PrepareExportFieldNames_3(
  int _maxwidth,
  WordBool _forced,
  WordBool _useUpperCase
);
' VisualBasic
Public Sub PrepareExportFieldNames_3(
  ByVal _maxwidth As Integer,
  ByVal _forced As WordBool,
  ByVal _useUpperCase As WordBool
)
// Oxygene
public
  procedure PrepareExportFieldNames_3(
    _maxwidth : Integer;
    _forced : WordBool;
    _useUpperCase : WordBool
  );

Parameters

Name Type Description
_maxwidth int
Integer
max width of field; should be >= 4
_forced WordBool if _false (default) export names will be constructed for new fields; otherwise saved fields will be ignored
_useUpperCase WordBool convert field name to uppercase format

Remarks

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).

2020/05/07 01:04