Word.Interfaces.ShapeFillUpdateData interface
An interface for updating data on the ShapeFill
object, for use in shapeFill.set({ ... })
.
Properties
background |
Specifies the shape fill background color. You can provide the value in the '#RRGGBB' format or the color name. |
foreground |
Specifies the shape fill foreground color. You can provide the value in the '#RRGGBB' format or the color name. |
transparency | Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns |
Property Details
backgroundColor
Specifies the shape fill background color. You can provide the value in the '#RRGGBB' format or the color name.
backgroundColor?: string;
Property Value
string
Remarks
foregroundColor
Specifies the shape fill foreground color. You can provide the value in the '#RRGGBB' format or the color name.
foregroundColor?: string;
Property Value
string
Remarks
transparency
Specifies the transparency percentage of the fill as a value from 0.0 (opaque) through 1.0 (clear). Returns null
if the shape type does not support transparency or the shape fill has inconsistent transparency, such as with a gradient fill type.
transparency?: number;
Property Value
number
Remarks
Office Add-ins