Sets the Alignment's style Id.
public override ObjectId StyleId { set; }
Public Overrides WriteOnly Property StyleId As ObjectId Set
public:
virtual property ObjectId StyleId {
void set (ObjectId value) override;
}| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the style Id is invalid. |
1// assign style to an existing alignment 2myAlignment.StyleId = myAlignmentStyle.Id;