IWxLink.RemovePoint

Syntax

RemovePoint(Number: Integer);

Parameters

Number - point index.

Description

The RemovePoint method removes a line point by the specified index.

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.RemovePoint(Link.PointCount-2);

End Sub UserProc;

After executing the example a line point next to the final one is deleted.

See also:

IWxLink