NShape Reference
Shape.GetConnectionInfos Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Shape Class >

NShape Reference
Shape.GetConnectionInfos Method

Previous pageReturn to chapter overviewNext page

Retrieves information about the connections of the shape.

Syntax

public abstract IEnumerable<ShapeConnectionInfo> GetConnectionInfos(
    ControlPointId ownPointId, Shape otherShape
)

Description

Each returned connection info describes one single connection between this shape and the other shape.

Parameters

Name

Description

ownPointId

Id of control point to return connection infos for. A value of ControlPointId.Any returns connection infos for all control points of the shape.

otherShape

Specifies the other shape to connect to. If null, connection infos for all connected shapes are returned.

Return Value

Enumerator of ConnectionInfo structures, each describing one single connection of the shape.

Exceptions

Name

Description

ArgumentException

ownPointId is invalid