LayerAtIndex property
Prototype: |
property LayerAtIndex [index: integer]: TFieldMapLayerWrapper; (READ-ONLY) |
|
Description: |
The LayerAtIndex property returns an object wrapper for the Field-Map layer at a specified index from the range <0..LayerCount-1> or nill if the index is not valid. Layer indexes cannot be mistaken for layer IDs. They are not fixed numbers. For example, when a layer is disabled in Field-Map Project Manager, it is made inaccessible for the Field-MapLayerWrapper and does not fall into the range of indexes. In this situation, all the layers with a higher index are re-indexed. |
|
Syntax: |
variable := Project.LayerAtIndex[LayerIndex]; |
|
Part |
Description |
|
variable |
A variable declared as an instance of the TFieldMapLayerWrapper class |
|
Project |
A reference to the Field-Map project as defined in Field-Map Project Manager |
|
LayerIndex |
The Field-Map layer index |
|
Return value: |
an object wrapper for the Field-Map layer at a specified index from the range <0..LayerCount-1> or nil if the index is not valid |
|
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