SurfaceElevationLabelCreate(ObjectId, Point2d, ObjectId, ObjectId) Method |
Creates a new instance of an OnePoint SurfaceElevationLabel.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId surfaceId,
Point2d location,
ObjectId labelStyleId,
ObjectId markerStyleId
)
Public Shared Function Create (
surfaceId As ObjectId,
location As Point2d,
labelStyleId As ObjectId,
markerStyleId As ObjectId
) As ObjectId
public:
static ObjectId Create(
ObjectId surfaceId,
Point2d location,
ObjectId labelStyleId,
ObjectId markerStyleId
)
Parameters
- surfaceId ObjectId
- The object id of surface to which the label is attached.
- location Point2d
- The place in which the label is located.
- labelStyleId ObjectId
- The object id of label style for the label.
- markerStyleId ObjectId
- The object id of anchor marker style for the label.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the surfaceId,markStyleId is invalid, or location is not on the surface.
Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::SurfaceElevation.
|
See Also