StationOffsetLabelCreate Method |
Creates a new instance of an AlignmentCurveLabel and adds it to the specified database.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId alignmentId,
ObjectId labelStyleId,
ObjectId markerStyleId,
Point2d location
)
Public Shared Function Create (
alignmentId As ObjectId,
labelStyleId As ObjectId,
markerStyleId As ObjectId,
location As Point2d
) As ObjectId
public:
static ObjectId Create(
ObjectId alignmentId,
ObjectId labelStyleId,
ObjectId markerStyleId,
Point2d location
)
Parameters
- alignmentId ObjectId
- The object id of alignment to which the label is attahed.
- labelStyleId ObjectId
- The object id of label style for the label.
- markerStyleId ObjectId
- The object id of marker style for the label.
- location Point2d
- The place in which the label is located.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::AlignmentStationOffset.
|
See Also