Creates a new instance of a SampleLineLabelGroup on the specified SampleLineGroup with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectId sampleLineGroupId,
ObjectId labelStyleId
) |
Visual Basic |
---|
Public Shared Function Create ( _
sampleLineGroupId As ObjectId, _
labelStyleId As ObjectId _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectId sampleLineGroupId,
ObjectId labelStyleId
) |
Parameters
- sampleLineGroupId
- Type: ObjectId
The ObjectId of the SampleLineGroup where the label group is located.
- labelStyleId
- Type: ObjectId
The ObjectId of the SampleLineLabel style to use.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when the sampleLineGroupId or labelStyleId is invalid.
|
See Also