SurfaceSlopeLabelCreate(ObjectId, Point2d, ObjectId) Method |
Creates a new instance of an OnePoint SurfaceSlopeLabel.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntaxpublic static ObjectId Create(
ObjectId surfaceId,
Point2d location,
ObjectId labelStyleId
)
Public Shared Function Create (
surfaceId As ObjectId,
location As Point2d,
labelStyleId As ObjectId
) As ObjectId
public:
static ObjectId Create(
ObjectId surfaceId,
Point2d location,
ObjectId labelStyleId
)
Parameters
- surfaceId ObjectId
- The object id of surface to which the label is attahed.
- location Point2d
- The place in which the label is located.
- labelStyleId ObjectId
- The object id of label style for the label.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the surfaceId,labelStyleId is invalid, or location is not on the surface.
|
See Also