Field-Map Scripting

4.4.1.8 Layer

Layer property


Prototype:

property Layer[const name: string]: TFieldMapLayerWrapper; (READ-ONLY)

Description:

Returns an object wrapper for the specified Field-Map layer or nil if there is no layer of that name.

Syntax:

variable := Project.Layer[LayerName];


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


LayerName

The string specifying the name of the Field-Map layer

Return value:

An object wrapper for the specified Field-Map layer or nil if there is no layer of that name



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


Example