Creates a new instance of a StructureLabel on a Structure using the default label style.

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

Syntax

C#
public static ObjectId Create(
	ObjectId structureId
)
Visual Basic
Public Shared Function Create ( _
	structureId As ObjectId _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId structureId
)

Parameters

structureId
Type: ObjectId
The ObjectId of the Structure on which the label is located.

Remarks

The LabelLocation of the new label is on the center of the Structure.

Exceptions

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

See Also