ShapeStyle

ShapeStyle class

Represent shape’s style reference.

getEffectColor

NameDescription
getEffectColor()Returns a shape’s effect color. Read-only IColorFormat.

Result: ColorFormat


getEffectStyleIndex

NameDescription
getEffectStyleIndex()Returns or sets shape’s effect column index in a style matrix. Read/write long.

Result: long


getFillColor

NameDescription
getFillColor()Returns a shape’s fill color. Read-only IColorFormat.

Result: ColorFormat


getFillStyleIndex

NameDescription
getFillStyleIndex()Returns 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 short.

Result: short


getFontCollectionIndex

NameDescription
getFontCollectionIndex()Returns or sets shape’s font index in a font collection. Read/write FontCollectionIndex.

Result: byte


getFontColor

NameDescription
getFontColor()Returns a shape’s font color. Read-only IColorFormat.

Result: ColorFormat


getLineColor

NameDescription
getLineColor()Returns a shape’s outline color. Read-only IColorFormat.

Result: ColorFormat


getLineStyleIndex

NameDescription
getLineStyleIndex()Returns or sets line’s column index in a style matrix. Read/write int.

Result: int


getParent_Immediate

NameDescription
getParent_Immediate()

setEffectStyleIndex

NameDescription
setEffectStyleIndex(long)Returns or sets shape’s effect column index in a style matrix. Read/write long.

setFillStyleIndex

NameDescription
setFillStyleIndex(short)Returns 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 short.

setFontCollectionIndex

NameDescription
setFontCollectionIndex(byte)Returns or sets shape’s font index in a font collection. Read/write FontCollectionIndex.

setLineStyleIndex

NameDescription
setLineStyleIndex(int)Returns or sets line’s column index in a style matrix. Read/write int.