NShape Reference
Shape.GetConnectionInfo Method

<< Click to Display Table of Contents >>

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

NShape Reference
Shape.GetConnectionInfo Method

Previous pageReturn to chapter overviewNext page

Retrieves information about a glue point's connection.

Syntax

public abstract ShapeConnectionInfo GetConnectionInfo(ControlPointId gluePointId, Shape otherShape)

Description

This method must be called upon the shape with the glue point. It can also be used to test, whether the glue point connects to the given shape or not.

Parameters

Name

Description

gluePointId

Id of glue point to retrieve information about

otherShape

Reference to other shape or null/Nothing for any shape.

Return Value

Connection info of this glue point or ShapeConnectionInfo.Empty, if the specified connection does not exist.

Exceptions

Name

Description

ArgumentException

Given point id does not exist or does not refer to a glue point.