StyleName Property

Specifies the name of the style used with the object.

See Also | Example

Signature

object.StyleName

object

Attribute, AttributeReference, Dim3PointAngular, DimAligned, DimAngular, DimArcLength, DimDiametric, DimOrdinate, DimRadial, DimRadialLarge, DimRotated, Leader, MLine, MText, Text, Tolerance
The object or objects this property applies to.

StyleName

String; read-write
(For the MLine object, this property is read-only.)
The default equals the current style.

System variables

For dimensions, the value of this property is stored in the DIMSTYLE system variable.

Remarks

Use the TextStyle object to change the attributes of a given text style. Use the DimStyle object to change the attributes of a given dimension style.

The name given must already be defined in the drawing.

 

   Comments?