SectionMinorOffsetLabelGroupCreate(ObjectId, Double, ObjectId) Method |
Creates a new instance of a SectionMinorOffsetLabelGroup on the specified SectionOffsetLabelGroup with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId majorOffsetLabelGroupId,
double increment,
ObjectId labelGroupStyleId
)
Public Shared Function Create (
majorOffsetLabelGroupId As ObjectId,
increment As Double,
labelGroupStyleId As ObjectId
) As ObjectId
public:
static ObjectId Create(
ObjectId majorOffsetLabelGroupId,
double increment,
ObjectId labelGroupStyleId
)
Parameters
- majorOffsetLabelGroupId ObjectId
- The ObjectId of the SectionOffsetLabelGroup.
- increment Double
- The increment value at which to insert minor offset labels.
- labelGroupStyleId ObjectId
- The ObjectId of the minor offset label style to use (object type LabelStyle).
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The majorOffsetLabelGroupId or labelStyleId is invalid.
- The increment value is less than or equal to 0.
|
See Also