FillFormat Members

Include Protected Members
Include Inherited Members

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

The FillFormat type exposes the following members.

Methods

  Name Description
Public method Background Reserved for internal use.
Public method OneColorGradient Sets the specified fill to a one-color gradient.
Public method Patterned Sets the specified fill to a pattern.
Public method PresetGradient Sets the specified fill to a preset gradient.
Public method PresetTextured Sets the specified fill to a preset texture.
Public method 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.
Public method TwoColorGradient Sets the specified fill to a two-color gradient.
Public method UserPicture Fills the specified shape with one large image.
Public method UserTextured Fills the specified shape with small tiles of an image.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property BackColor Returns or sets a ColorFormat object that represents the background color for the specified fill or patterned line.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property ForeColor Returns or sets a ColorFormat object that represents the foreground color for the fill.
Public property GradientAngle Gets or sets the angle of the gradient fill for the specified fill format.
Public property GradientColorType Returns the gradient color type for the specified fill.
Public property GradientDegree Returns a value that indicates how dark or light a one-color gradient fill is.
Public property GradientStops Gets the GradientStops collection associated with the specified fill format.
Public property GradientStyle Returns the gradient style for the specified fill.
Public property GradientVariant Returns the gradient variant for the specified fill as an integer value from 1 to 4 for most gradient fills.
Public property Parent Returns an object that represents the parent object of the specified object.
Public property Pattern Returns a value that represents the pattern applied to the specified fill.
Public property PictureEffects Gets a PictureEffects object that can be used to apply picture effects to the specified fill formatting.
Public property PresetGradientType Returns the preset gradient type for the specified fill.
Public property PresetTexture Returns the preset texture for the specified fill.
Public property RotateWithObject Gets or sets whether the fill rotates with the specified shape.
Public property TextureAlignment Gets or sets the alignment (the origin of the coordinate grid) for the tiling of the texture fill.
Public property TextureHorizontalScale Gets or sets a value that specifies the horizontal scaling factor for the texture fill.
Public property TextureName Returns the name of the custom texture file for the specified fill.
Public property TextureOffsetX Gets or sets a value that specifies the horizontal offset of the texture from the origin in points.
Public property TextureOffsetY Gets or sets a value that specifies the vertical offset of the texture from the origin in points.
Public property TextureTile Gets or sets whether the texture fill is tiled or centered.
Public property TextureType Returns the texture type for the specified fill.
Public property TextureVerticalScale Gets or sets a value that specifies the vertical scaling factor for the texture fill.
Public property Transparency Returns or sets the degree of transparency of the specified fill as a value between 0.0 (opaque) and 1.0 (clear).
Public property Type Returns the shape fill format type.
Public property Visible True if the specified object, or the formatting applied to it, is visible.

Top

See Also

Reference

FillFormat Interface

Microsoft.Office.Interop.Word Namespace