IWxLink.FirstPoint

Syntax

FirstPoint: IGxPointF;

Description

The FirstPoint property determines position of the initial line point.

Example

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

Sub UserProc;

Var

ws: IWxWorkspace;

Link : IWxLink;

Begin

Link := ws.Shapes.Item(2) As IWxLink;

Link.FirstPoint := New GxPointF.Create(1,2);

Link.LastPoint := New GxPointF.Create(37,49);

End Sub UserProc;

After executing the example the position of the start and end line points is changed.

See also:

IWxLink