SampleLineLabelGroupCreate(ObjectId, ObjectId) Method |
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.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId sampleLineGroupId,
ObjectId labelStyleId
)
Public Shared Function Create (
sampleLineGroupId As ObjectId,
labelStyleId As ObjectId
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the sampleLineGroupId or labelStyleId is invalid.
|
See Also