Creates a new instance of an SurfaceContourLabelGroup and adds it to the specified surface.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectId surfaceId,
Point2dCollection labelLinePoints
) |
Visual Basic |
---|
Public Shared Function Create ( _
surfaceId As ObjectId, _
labelLinePoints As Point2dCollection _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectId surfaceId,
Point2dCollection^ labelLinePoints
) |
Parameters
- surfaceId
- Type: ObjectId
The ObjectId of surface to which the label is attahed.
- labelLinePoints
- Type: Point2dCollection
The place in which the label is located.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The surfaceId is invalid.
- The count of labelLinePoints is less than 2.
|
See Also