Share

SurfaceSlopeLabel.Create(ObjectId, Point2d, Point2d) Method

Creates a new instance of a TwoPoint SurfaceSlopeLabel.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public static ObjectId Create(
	ObjectId surfaceId,
	Point2d point1,
	Point2d point2
)

VB

Public Shared Function Create ( 
	surfaceId As ObjectId,
	point1 As Point2d,
	point2 As Point2d
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId surfaceId, 
	Point2d point1, 
	Point2d point2
)

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.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when the surfaceId is invalid, or location is not on the surface.

See Also

Reference

Was this information helpful?