User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_configini.getlayerno_tobject

Table of Contents

TGIS_ConfigIni.getLayerNo method

DK11 for .NET | TatukGIS.NDK.TGIS_ConfigIni.getLayerNo | Constructors | Fields | Methods | Properties

Read from project configuration file a stored number (#) of the layer corresponding to a given name. This must be done because the layer order can be rearranged without saving to ini, so the only valid description of a layer is the name.

Available also on: Delphi | Java.

Syntax

// C#
protected int getLayerNo(
  TObject _layer
);
' VisualBasic
Protected Function getLayerNo(
  ByVal _layer As TObject
) As Integer
// Oxygene
protected
  function getLayerNo(
    _layer : TObject
  ) : Integer;

Parameters

Name Type Description
_layer TObject layer handle

Result

Type Description
int
Integer
layer index
2021/10/22 22:47

Page Tools