SampleLineLabelGroupCreate(ObjectId, ObjectId) Method

Creates a new instance of a SampleLineLabelGroup on the specified SampleLineGroup with the specified label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	ObjectId sampleLineGroupId,
	ObjectId labelStyleId
)

Parameters

sampleLineGroupId  ObjectId
The ObjectId of the SampleLineGroup where the label group is located.
labelStyleId  ObjectId
The ObjectId of the SampleLineLabel style to use.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the sampleLineGroupId or labelStyleId is invalid.
See Also