Field-Map Scripting

4.2.1.25 RelationType

RelationType property


Prototype:

property RelationType (const PossibleParentLayer_ :TFieldMapLayerScriptWrapper) :integere;

Description:

Returns relation type of a layer to a parent layer

Syntax:

variable:= Layer.RelationType;


Part

Description


variable

A variable declared as an integer


Layer

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

Return value:

1 represents 1:1 relation type, 2 represents 1:n relation type


Note: This function is available since version X8.



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