Maptitude GISDK Help |
Gets summary information about a layer.
info = GetLayerInfo(string layer_name)
Argument |
Contents |
layer_name |
The name of the layer |
An array of information as follows:
Element |
Type |
Contents |
1-6 |
Various |
For internal use |
7 |
Real |
The minimum autoscale value |
8 |
Real |
The maximum autoscale value |
9 |
String |
The file name of the default layer settings file |
10 |
String |
The path and file name of the geographic file that contains the layer |
11 |
String |
The original name for the layer in the geographic file |
12-14 |
Various |
For internal use |
Elements whose values have not been set will be null.
inf = GetLayerInfo("States")
ShowMessage("Layer " + inf[11] + " is from file " + inf[10])
Error Type |
Meaning |
NotFound |
The specified layer does not exist |
Function |
Summary |
Gets summary information about a geographic file |
|
Gets the name of the location where a layer is stored |
©2025 Caliper Corporation | www.caliper.com |