NShape Reference
ILinearShape.AddVertex Method

<< Click to Display Table of Contents >>

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

NShape Reference
ILinearShape.AddVertex Method

Previous pageReturn to chapter overviewNext page

Adds a new ControlPoint to the interior of the shape.

Syntax

ControlPointId AddVertex(int x, int y)

Description

Adds a new vertex to the interior of the shape.

Parameters

Name

Description

x

X coordinate of the new vertex.

y

Y coordinate of the new vertex.

Return Value

The ControlPointId of the new vertex.

Exceptions

Exception

Condition

NShapeException

Adding a new vertex failed.