TLayeredImage32.AddLayer

function AddLayer(layerClass: TLayer32Class = nil; parent: TLayer32 = nil; const name: string = ''''): TLayer32;

Creates a new layer as a child of the specified parent. If no Parent is specified, the layer will be added as a child of the Root.

See Also

Root