Creates a new instance of an OnePoint SurfaceSlopeLabel.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static ObjectId Create( ObjectId surfaceId, Point2d location, ObjectId labelStyleId )
Visual Basic
Public Shared Function Create ( _ surfaceId As ObjectId, _ location As Point2d, _ labelStyleId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId surfaceId, Point2d location, ObjectId labelStyleId )
Parameters
- surfaceId
- Type: ObjectId
The object id of surface to which the label is attahed.
- location
- Type: Point2d
The place in which the label is located.
- labelStyleId
- Type: ObjectId
The object id of label style for the label.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the surfaceId,labelStyleId is invalid, or location is not on the surface. |