Creates a new instance of ProfileProjectionLabel on the profileview with the specified label style.

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

Syntax

C#
public static ObjectId Create(
	ObjectId profileViewId,
	ObjectId profileProjectionId,
	ObjectId labelStyleId
)
Visual Basic
Public Shared Function Create ( _
	profileViewId As ObjectId, _
	profileProjectionId As ObjectId, _
	labelStyleId As ObjectId _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId profileViewId, 
	ObjectId profileProjectionId, 
	ObjectId labelStyleId
)

Parameters

profileViewId
Type: ObjectId
The ObjectId of profile view in which the label is located.
profileProjectionId
Type: ObjectId
The ObjectId of ProfileProjectionLabel's feature object.
labelStyleId
Type: ObjectId
The ObjectId of ProfileProjectionLabel style.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the profileViewId, profileProjectionId or labelStyleId is invalid.

See Also