LinkCollectionAdd(IPoint, IPoint, String, CorridorLinkDisplay) Method

Add a link. In most cases, a link is defined by 2 points.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public Link Add(
	IPoint point1,
	IPoint point2,
	string[] codes,
	CorridorLinkDisplay displayMode
)

Parameters

point1  IPoint
First point of the link.
point2  IPoint
Second point of the link.
codes  String
The codes of the link.
displayMode  CorridorLinkDisplay
How to draw the link (solid, dashed, with/without arrowhead).

Return Value

Link
The link added.
See Also