Skip to main content

ShapeFill Methods

Defines the fill formatting for a drawing object.
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