SurfaceSlopeLabelCreate(ObjectId, Point2d, Point2d, ObjectId) Method |
Creates a new instance of a TwoPoint SurfaceSlopeLabel.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId surfaceId,
Point2d point1,
Point2d point2,
ObjectId labelStyleId
)
Public Shared Function Create (
surfaceId As ObjectId,
point1 As Point2d,
point2 As Point2d,
labelStyleId As ObjectId
) As ObjectId
public:
static ObjectId Create(
ObjectId surfaceId,
Point2d point1,
Point2d point2,
ObjectId labelStyleId
)
Parameters
- surfaceId ObjectId
- The object id of surface to which the label is attahed.
- point1 Point2d
- The first point of label.
- point2 Point2d
- The second point of label.
- 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