LayerCount property
Prototype: |
property LayerCount : integer; (READ-ONLY) |
|
Description: |
Returns the number of enabled layers in the currently opened Field-Map project. Besides the user-defined layers, the number always includes the Plots layer and three system point layers (ReferencePoints, GPSReferencePoints and DEM) which are always hidden (also in Field-Map Project Manager). Therefore, to get the actual number of layers which you defined in Field-Map Project Manager as child layers to the layer Plots, subtract 4 from the result. |
|
Syntax: |
variable := Project.LayerCount; |
|
Part |
Description |
|
variable |
A variable declared as an integer |
|
Project |
A reference to the Field-Map project as defined in Field-Map Project Manager |
|
Return value: |
the number of layers in the currently opened Field-Map project including the layer Plots and three hidden system point layers |
|
See also:
Name; DatabaseType; Version; UserLoginFullName; UserLoginName; UserGroupName; LayerCount; Layer; GetMapLayerListAsXML; ActiveLayer; ActiveLayerName; LayerAtIndex; SysTab_LayerList; SysTab_AttributeList; GetMapLayerListAsXML; ApplyMapLayerList; LoadMapLayerListFromXML; SaveMapLayerListToXML; MapLayerListVisible; SendDataToAnotherRunningProject; GetResourceString; AnotherProjectIsRunning; OpenAnotherProject; BringProjectToFront;SendDataToAnotherRunningProject; OpenInactiveLayers; CloseInactiveLayers; OpenPlot; OpenPlotUsingDataCollector; RunPolyshape; AddLayerWrapper; ScriptsEnabled; OnValidateScriptsEnabled; OnChangeScriptsEnabled; OnChangeTimeStampEnabled; DisableScripts; EnableScripts; RunSynchronization; RunSynchronizationExt; AdjustOnlineCalliperConnection
© 2024 IFER-Monitoring and Mapping Solutions