Share

LinkCollection.Add(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.280

Syntax

C#

public Link Add(
	IPoint point1,
	IPoint point2,
	string code,
	CorridorLinkDisplay displayMode
)

VB

Public Function Add ( 
	point1 As IPoint,
	point2 As IPoint,
	code As String,
	displayMode As CorridorLinkDisplay
) As Link

C++

public:
Link^ Add(
	IPoint^ point1, 
	IPoint^ point2, 
	String^ code, 
	CorridorLinkDisplay displayMode
)

Parameters

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

Return Value

Link
The link added.

See Also

Reference

Was this information helpful?