Field-Map Scripting

4.2.1.5 LayerLevel

LayerLevel function


Prototype:

function LayerLevel: integer;

Description:

The LayerLevel function returns the ordinal identification of the level which the given layer is in. The root layer Plots is at the level 0. The deeper the layer is, the higher the number.

Syntax:

variable := Layer.LayerLevel;


Part

Description


variable

A variable declared as an integer


Layer

A reference to a Field-Map layer as defined in Field-Map Project Manager

Return value:

layer level as an integer



See also:

Name; Free; ParentName; LayerType; LayerLevel; LayerLabel; AutoTimeStampEnabled; PerformOnChangeScript; PerformOnChangeScriptForAllRecords; PerformLayerScript; OnLineCalliper_AddAttribute; OnLineCalliper_RemoveAttribute; OnLineCalliper_ClearAttributes; OnLineCalliper_GotoAttribute; OnLineCalliper_AddRecordUponReceipt; GetCrownProfileVolumeAndSurface; GetCrownProjectionAsLine; GetCrownProjectionAsPolygon; OpenExternalForm; RelationType; IsValidParentLayer