FillFormat Object Members
Excel Developer Reference |
Represents fill formatting for a shape.
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 format to a preset texture. | |
Solid | Sets the specified fill to a uniform color. Use this method to convert a gradient, textured, patterned, or background fill back to a solid fill. | |
TwoColorGradient | Sets the specified fill to a two-color gradient. | |
UserPicture | Fills the specified shape with an image. | |
UserTextured | Fills the specified shape with small tiles of an image. If you want to fill the shape with one large image, use the UserPicture method. |
Properties
Name | Description | |
---|---|---|
Application | When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only. | |
BackColor | Returns or sets a ColorFormat object that represents the specified fill background color. | |
Creator | Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. | |
ForeColor | Returns or sets a ColorFormat object that represents the specified foreground fill or solid color. | |
GradientColorType | Returns the gradient color type for the specified fill. Read-only MsoGradientColorType. | |
GradientDegree | Returns the gradient degree of the specified one-color shaded fill as a floating-point value from 0.0 (dark) through 1.0 (light). Read-only Single. | |
GradientStops | Read-only | |
GradientStyle | Returns the gradient style for the specified fill. Read-only MsoGradientStyle. | |
GradientVariant | Returns the shade variant for the specified fill as an integer value from 1 through 4. The values for this property correspond to the gradient variants (numbered from left to right and from top to bottom) on the Gradient tab in the Fill Effects dialog box. Read-only Long | |
Parent | Returns the parent object for the specified object. Read-only. | |
Pattern | Returns or sets an MsoPatternType value that represents the fill pattern. | |
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. | |
RotateWithObject | Read/write | |
TextureAlignment | Read/write | |
TextureHorizontalScale | Read/write | |
TextureName | Returns the name of the custom texture file for the specified fill. Read-only String. | |
TextureOffsetX | Read/write | |
TextureOffsetY | Read/write | |
TextureTile | Read/write | |
TextureType | Returns the texture type for the specified fill. Read-only MsoTextureType. | |
TextureVerticalScale | Read/write | |
Transparency | Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear). Read/write Double. | |
Type | Returns a MsoFillType value that represents the the fill type. | |
Visible | Returns or sets a MsoTriState value that determines whether the object is visible. Read/write. |