NShape Reference
ILinearShape.RemoveConnectionPoint Method

<< Click to Display Table of Contents >>

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

NShape Reference
ILinearShape.RemoveConnectionPoint Method

Previous pageReturn to chapter overviewNext page

Removes the specified (dynamic) connection point from the linear shape.

Syntax

void RemoveConnectionPoint(ControlPointId pointId)

Description

Removes the specified (dynamic) connection point from the linear shape.

If shapes are connected to the connection point, these shapes will be disconnected.
If the specified ControlPointId is not a dynamic connection point (e.g. a resize point), an exception will be thrown.

Available in NShape 2.0

Exceptions

Exception

Condition

ArgumentOutOfRangeException

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

InvalidOperationException

The specified control point is a vertex.