Creates a new instance of an SurfaceContourLabelGroup and adds it to the specified surface.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1276
Syntax
C#
public static ObjectId Create( ObjectId surfaceId, Point2dCollection labelLinePoints, ObjectId majorContourlabelStyleId, ObjectId minorContourlabelStyleId, ObjectId userContourlabelStyleId )
VB
Public Shared Function Create ( surfaceId As ObjectId, labelLinePoints As Point2dCollection, majorContourlabelStyleId As ObjectId, minorContourlabelStyleId As ObjectId, userContourlabelStyleId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId surfaceId, Point2dCollection^ labelLinePoints, ObjectId majorContourlabelStyleId, ObjectId minorContourlabelStyleId, ObjectId userContourlabelStyleId )
Parameters
- surfaceId ObjectId
- The ObjectId of surface to which the label is attached.
- labelLinePoints Point2dCollection
- The place where the label is located.
- majorContourlabelStyleId ObjectId
- The object id of label style for the major contour label.
- minorContourlabelStyleId ObjectId
- The object id of label style for the minor contour label.
- userContourlabelStyleId ObjectId
- The object id of label style for the user contour label.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|