TextStyle object |
A named, saved collection of settings that determines the appearance of text characters.
VBA class name: |
AcadTextStyle |
---|---|
Create using: |
TextStyles.Add |
Access via: |
TextStyles.Item |
To control the settings on a text style, use the properties below, or the text style system variables. See "System Variables" in the AutoCAD Command Reference for a list of text style system variables.
The active text style (set with the ActiveTextStyle property) determines the appearance of new text created in the drawing, and existing text that has no distinct text style specified.
If changes are made to the active TextStyle, the new TextStyle object must be reset as the active TextStyle, and the Regen method must be called for the changes to appear. To reset the active TextStyle, simply call the ActiveTextStyle property again with the updated TextStyle object.
To specify a distinct text style for an object so it will not change along with the active text style, use the StyleName property for the specific object.
Methods |
Properties |
Events |
Comments? |