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

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public Link Add(
	IPoint point1,
	IPoint point2,
	string[] codes,
	CorridorLinkDisplay displayMode
)
Visual Basic
Public Function Add ( _
	point1 As IPoint, _
	point2 As IPoint, _
	codes As String(), _
	displayMode As CorridorLinkDisplay _
) As Link
Visual C++
public:
Link^ Add(
	IPoint^ point1, 
	IPoint^ point2, 
	array<String^>^ codes, 
	CorridorLinkDisplay displayMode
)

Parameters

point1
Type: Autodesk.Civil.DatabaseServices..::..IPoint
First point of the link.
point2
Type: Autodesk.Civil.DatabaseServices..::..IPoint
Second point of the link.
codes
Type: array<System..::..String>[]()[][]
The codes of the link.
displayMode
Type: Autodesk.Civil.DatabaseServices..::..CorridorLinkDisplay
How to draw the link (solid, dashed, with/without arrowhead).

Return Value

The link added.

See Also