User Tools

Site Tools


api:dk11:delphi:gisconfigini.tgis_configini.getlayerno_tobject

Table of Contents

TGIS_ConfigIni.getLayerNo method

DK11 for Delphi | GisConfigIni.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: .NET | Java.

Syntax

// Delphi
protected
  function getLayerNo(
    const _layer : TObject
  ) : Integer;
// C++ Builder
protected:
  int getLayerNo(
    TObject* const _layer
  );

Parameters

Name Type Description
_layer TObject layer handle

Result

Type Description
Integer layer index
2020/05/07 01:06

Page Tools