Skip to main content

ShapeFill Members

Defines the fill formatting for a drawing object.

Properties

Name Description
FillType Returns the fill type applied to a shape. Inherited from ShapeOutlineFill.
GradientFill Provides access to the settings of the gradient fill applied to a drawing object’s element. Inherited from ShapeOutlineFill.
PatternFill Provides access to the settings of the pattern fill applied to a drawing object’s element.
PictureFill Provides access to the settings of the picture fill applied to a drawing object’s element.
SolidFill Provides access to the settings of the solid fill applied to a drawing object’s element. Inherited from ShapeOutlineFill.

Methods

Name Description
SetAutoFill() Sets the automatic fill for a drawing object’s element. Inherited from ShapeOutlineFill.
SetGradientFill(ShapeGradientType, IList<GradientStopInfo>) Sets the gradient fill for a drawing object’s element. Inherited from ShapeOutlineFill.
SetGradientFill(ShapeGradientType, Color, Color) Sets the two-color gradient fill for a drawing object’s element. Inherited from ShapeOutlineFill.
SetNoFill() Removes any fill from a drawing object’s element. Inherited from ShapeOutlineFill.
SetPatternFill(Color, Color, ShapeFillPatternType) Sets the pattern fill for a drawing object’s element.
SetPictureFill(SpreadsheetImageSource) Sets the picture fill for a drawing object’s element.
SetPictureFill(Image) Sets the picture fill for a drawing object’s element.
SetPictureFill(String) Sets the picture fill for a drawing object’s element.
SetSolidFill(Color) Sets a solid color fill for a drawing object’s element. Inherited from ShapeOutlineFill.
See Also