Gets or sets the Entity object's style Id.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public override sealed ObjectId StyleId { get; set; }
VB
Public Overrides NotOverridable Property StyleId As ObjectId Get Set
C++
public: virtual property ObjectId StyleId { ObjectId get () override sealed; void set (ObjectId value) override sealed; }
Property Value
ObjectIdImplements
ICommonLabelStyleIdExceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the entity does not have a style property. |
ArgumentException | Thrown when the style Id is invalid. |