Share

SurfaceSlopeLabel.Create(ObjectId, Point2d, ObjectId) Method

Creates a new instance of an OnePoint SurfaceSlopeLabel.



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

Syntax

C#

public static ObjectId Create(
	ObjectId surfaceId,
	Point2d location,
	ObjectId labelStyleId
)

VB

Public Shared Function Create ( 
	surfaceId As ObjectId,
	location As Point2d,
	labelStyleId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId surfaceId, 
	Point2d location, 
	ObjectId labelStyleId
)

Parameters

surfaceId  ObjectId
The object id of surface to which the label is attahed.
location  Point2d
The place in which the label is located.
labelStyleId  ObjectId
The object id of label style for the label.

Return Value

ObjectId

Exceptions

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

See Also

Reference

Was this information helpful?