Creates a new instance of a StructureLabel on a Structure using 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 structureId,
	ObjectId labelStyleId,
	Point3d labelLocation
)
Visual Basic
Public Shared Function Create ( _
	structureId As ObjectId, _
	labelStyleId As ObjectId, _
	labelLocation As Point3d _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId structureId, 
	ObjectId labelStyleId, 
	Point3d labelLocation
)

Parameters

structureId
Type: ObjectId
The ObjectId of the Structure on which the label is located.
labelStyleId
Type: ObjectId
The ObjectId of the stucture label style to use.
labelLocation
Type: Point3d
The position of the label text.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the structureId or labelStyleId is invalid.

See Also