No, because there is still only 1 selection.
You could try creating a layer from a selection, so then you could make a selection, create a layer from the selection, copy it to the clipboard, then make another selection, create a layer from the selection, then copy it to the clipboard.
The currently selected layer is the layer that will be copied to the clipboard.
This is possible because you can have many layers and each layer is selectable.
For example using the layers demo from the samples folder you could add a check box to toggle selections or select layer, and a button to create the layer from the selection then add:
procedure Tfmain.Select1Click(Sender: TObject);
begin
if Select1.Checked then
ImageEnView1.MouseInteract := [miSelect]
else
ImageEnView1.MouseInteract := [miMoveLayers, miResizeLayers];
end;
procedure Tfmain.CreateLayerFromSelection1Click(Sender: TObject);
var
ilayer: integer;
begin
// copy selected area and create a new layer
ilayer := ImageEnView1.LayersCreateFromSelection;
ImageEnView1.LayersCurrent := ilayer;
ImageEnView1.CurrentLayer.name := AnsiString('Layer ' + IntToStr(ilayer));
ImageEnView1.CurrentLayer.VisibleBox := True;
ImageEnView1.CurrentLayer.Selectable := True;
ImageEnView1.LayersDrawBox := True;
// move the new layer to top left
ImageEnView1.CurrentLayer.PosX := 0;
ImageEnView1.CurrentLayer.PosY := 0;
// remove the selection
ImageEnView1.DeSelect;
ImageEnView1.LayersCurrent := 0;
RefreshControls;
RefreshLayerViewer;
end;
procedure Tfmain.CopyToClipboard1Click(Sender: TObject);
begin
ImageEnView1.Proc.CopyToClipboard()
end;
William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html