IWxView.CopySelectedShapes

Syntax

CopySelectedShapes;

Description

The CopySelectedShapes method copies the selected objects to clipboard.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

view : IWxView;

PointF : IGxPointF;

Begin

view := ws.Views.Item(0);

view.CopySelectedShapes;

PointF := New GxPointF.Create(10,5);

view.Paste(PointF);

End Sub UserProc;

After executing the example the selected objects are copied and pasted to a workspace.

See also:

IWxView