Represents fill formatting for a shape. A shape can have a solid, gradient, texture, pattern, picture, or semi-transparent fill.

Methods

Name Description
OneColorGradient Sets the specified fill to a one-color gradient.
Patterned Sets the specified fill to a pattern.
PresetGradient Sets the specified fill to a preset gradient.
PresetTextured Sets the specified fill to a preset texture.
Solid Sets the specified fill to a uniform color.
TwoColorGradient Sets the specified fill to a two-color gradient.
UserPicture Fills the specified shape with one large image.
UserTextured Fills the specified shape with small tiles of an image.

Properties

Name Description
Application Returns an Application object that represents the Microsoft Word application.
BackColor Returns or sets a ColorFormat object that represents the background color for the fill Read/write.
Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
ForeColor Returns or sets a ColorFormat object that represents the foreground color for the fill. Read/write.
GradientColorType Returns the gradient color type for the specified fill. Read-only MsoGradientColorType.
GradientDegree Returns a value that indicates how dark or light a one-color gradient fill is. Read-only Single.
GradientStyle Returns the gradient style for the specified fill. Read-only MsoGradientStyle.
GradientVariant Returns the gradient variant for the specified fill as an integer value from 1 to 4 for most gradient fills. Read-only Long.
Parent Returns an Object that represents the parent object of the specified FillFormat object.
Pattern Returns or sets a MsoPatternType constant that represents the pattern applied to the specified fill or line. Read-only.
PresetGradientType Returns the preset gradient type for the specified fill. Read-only MsoPresetGradientType.
PresetTexture Returns the preset texture for the specified fill. Read-only MsoPresetTexture.
TextureName Returns the name of the custom texture file for the specified fill. Read-only String.
TextureType Returns the texture type for the specified fill. Read-only MsoTextureType
Transparency Returns or sets the degree of transparency of the specified fillfor a shape as a value between 0.0 (opaque) and 1.0 (clear). Read/write Single.
Type Returns the shape fill format type. Read-only MsoFillType.
Visible True if the specified object, or the formatting applied to it, is visible. Read/write MsoTriState.