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[] codes, CorridorLinkDisplay displayMode )
VB
Public Function Add ( point1 As IPoint, point2 As IPoint, codes As String(), displayMode As CorridorLinkDisplay ) As Link
C++
public: Link^ Add( IPoint^ point1, IPoint^ point2, array<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
LinkThe link added.