ImageEn, unit imageenview

TImageEnView.LayersCreateFromClipboard

TImageEnView.LayersCreateFromClipboard


Declaration

function LayersCreateFromClipboard(): Integer;


Description

Creates a new layer with the content of the clipboard.
The clipboard can either contain an image or a layer copied from a TImageEnView.
This is the same as calling TImageEnView.Proc.PasteFromClipboard( iecpLayer ); However it returns an index of the new layer.