Add a link. A link is defined by 2 points in most cases, using the default Normal display mode.

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

Syntax

C#
public Link Add(
	IPoint point1,
	IPoint point2,
	string code
)
Visual Basic
Public Function Add ( _
	point1 As IPoint, _
	point2 As IPoint, _
	code As String _
) As Link
Visual C++
public:
Link^ Add(
	IPoint^ point1, 
	IPoint^ point2, 
	String^ code
)

Parameters

point1
Type: Autodesk.Civil.DatabaseServices..::..IPoint
First point of the link.
point2
Type: Autodesk.Civil.DatabaseServices..::..IPoint
Second point of the link.
code
Type: System..::..String
The code of the link.

Return Value

The link added.

See Also