IWxView.Paste

Syntax

Paste(BasePoint: IGxPointF);

Parameters

BasePoint. Top left coordinate of the position, to which an object is pasted (in view coordinates).

Description

The Paste method pastes objects from 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.

See also:

IWxView