FillFormat MembersĀ
Represents fill formatting for a shape. A shape can have a solid, gradient, texture, pattern, picture, or semi-transparent fill.
The following tables list the members exposed by the FillFormat type.
Public Properties
Name | Description | |
---|---|---|
Application | Returns a Application object that represents the Microsoft Word application. | |
BackColor | Returns or sets a ColorFormat object that represents the background color for the specified fill or patterned line. | |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. | |
ForeColor | Returns or sets a ColorFormat object that represents the foreground color for the fill. | |
GradientColorType | Returns the gradient color type for the specified fill. | |
GradientDegree | Returns a value that indicates how dark or light a one-color gradient fill is. | |
GradientStyle | Returns the gradient style for the specified fill. | |
GradientVariant | Returns the gradient variant for the specified fill as an integer value from 1 to 4 for most gradient fills. | |
Parent | Returns an object that represents the parent object of the specified object. | |
Pattern | Returns a value that represents the pattern applied to the specified fill. | |
PresetGradientType | Returns the preset gradient type for the specified fill. | |
PresetTexture | Returns the preset texture for the specified fill. | |
TextureName | Returns the name of the custom texture file for the specified fill. | |
TextureType | Returns the texture type for the specified fill. | |
Transparency | Returns or sets the degree of transparency of the specified fill as a value between 0.0 (opaque) and 1.0 (clear). | |
Type | Returns the shape fill format type. | |
Visible | True if the specified object, or the formatting applied to it, is visible. |
Top
Public Methods
Name | Description | |
---|---|---|
Background | ||
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. 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 one large image. | |
UserTextured | Fills the specified shape with small tiles of an image. |
Top
See Also
Reference
FillFormat Interface
Microsoft.Office.Interop.Word Namespace