Share

SampleLineLabelGroup.Create(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.280

Syntax

C#

public static ObjectId Create(
	ObjectId sampleLineGroupId,
	ObjectId labelStyleId
)

VB

Public Shared Function Create ( 
	sampleLineGroupId As ObjectId,
	labelStyleId As ObjectId
) As ObjectId

C++

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

Reference

Was this information helpful?