Declaration
function GetDefaultName(MergeDescription: Boolean = False; AppendKind: Boolean = False): String;
Description
Returns a description of the layer, e.g. "Background" (Layer 0), "Layer 1: Image", "Layer 2: Text", etc.
If
MergeDescription is true, Shape layers are displayed by their type, e.g. "Layer 1: Rectangle" and text layers by their text.
If
AppendKind (and a description has not been appended) then the layer kind is added.
This method is used to get a display name for the
Layer viewer
// Show name for the current layer
lblName.Caption := ImageEnView1.CurrentLayer.GetDefaultName( True );
See Also
◼Name
◼LayersNameToIndex