ShapeStyle class

ShapeStyle class

Represent shape’s style reference.

The ShapeStyle type exposes the following members:

Properties

PropertyDescription
line_colorReturns a shape’s outline color.
Read-only IColorFormat.
line_style_indexReturns or sets line’s column index in a style matrix.
Read/write int.
fill_colorReturns a shape’s fill color.
Read-only IColorFormat.
fill_style_indexReturns or sets shape’s fill column index in style matrices.
0 means no fill,
positive value - index in theme’s fill styles,
negative value - index in theme’s background styles.
Read/write int.
effect_colorReturns a shape’s effect color.
Read-only IColorFormat.
effect_style_indexReturns or sets shape’s effect column index in a style matrix.
Read/write int.
font_colorReturns a shape’s font color.
Read-only IColorFormat.
font_collection_indexReturns or sets shape’s font index in a font collection.
Read/write FontCollectionIndex.

See Also