LayerTypeCaption

Declaration: TMetaData.LayerTypeCaption [Layer: integer]: string;
The readonly property LayerTypeCaption returns a string describing the type of the layer specified by the parameter Layer. The returned string is a combination of the type designator of the layer and the order of derivative (if any). If Layer contains an invalid value the function returns the string "undefined".

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