SurfaceContourLabelGroupCreate(ObjectId, Point2dCollection) Method |
Creates a new instance of an SurfaceContourLabelGroup and adds it to the specified surface.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId surfaceId,
Point2dCollection labelLinePoints
)
Public Shared Function Create (
surfaceId As ObjectId,
labelLinePoints As Point2dCollection
) As ObjectId
public:
static ObjectId Create(
ObjectId surfaceId,
Point2dCollection^ labelLinePoints
)
Parameters
- surfaceId ObjectId
- The ObjectId of surface to which the label is attahed.
- labelLinePoints Point2dCollection
- The place in which the label is located.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The surfaceId is invalid.
- The count of labelLinePoints is less than 2.
|
Remarks
There are at least 2 points to compose the label line.
See Also