NShape Reference
ILinearShape.InsertVertex Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > ILinearShape Interface >

NShape Reference
ILinearShape.InsertVertex Method

Previous pageReturn to chapter overviewNext page

Inserts a new control point to the shape before the control point with the given Id.

Syntax

ControlPointId InsertVertex(ControlPointId beforePointId, int x, int y)

Description

Inserts a new control point to the shape before the control point with the given Id.

The position of the new Point may be outside the shape, thus changing the outline of the shape.

Exceptions

Exception

Condition

IndexOutOfRangeException

Linear shape does contain a control point with the specified ControlPointId.