LayerRequiresLineSpec

Declaration: TMetaData.LayerRequiresLineSpec (Layer: integer): boolean;
The function LayerRequiresLineSpec returns TRUE if the layer specified by the parameter Layer belongs to a line spectrum. If Layer contains an invalid layer index (valid range: 1..SizeL) layer 1 is assumed.

Hint: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.