Share

StructureLabel.Create(ObjectId) Method

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.8.0.280

Syntax

C#

public static ObjectId Create(
	ObjectId structureId
)

VB

Public Shared Function Create ( 
	structureId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId structureId
)

Parameters

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

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when the structureId is invalid.

Remarks

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

See Also

Reference

Was this information helpful?