Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ShapeFill Methods

Contains fill settings for a shape.
Name Description
SetAutoFill() Applies the automatic fill to a shape.
SetGradientFill(GradientType, IEnumerable<GradientStop>) Applies a complex gradient to a shape.
SetGradientFill(GradientType, Color, Color) Applies a two-color gradient to a shape.
SetNoFill() Removes a fill from a shape.
SetPatternFill(PatternFillType, Color, Color) Applies a pattern fill to a shape.
SetPictureFill(DocumentImageSource) Applies a picture fill to a shape.
SetPictureFill(Image) Applies a picture fill to a shape.
SetSolidFill(Color) Applies a solid color to a shape.
See Also