Creates a new instance of an OnePoint SurfaceElevationLabel.
public 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 )
| Exception | 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. |