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.

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property BackColor Returns or sets a ColorFormat object that represents the background color for the specified fill or patterned line. Read/write.
Public property Creator Returns a 64-bit signed integer that represents the four-character creator code for the application in which the specified object was created. For example, if the object was created in Microsoft PowerPoint, this property returns the hexadecimal number 50575054. Read-only.
Public property ForeColor Returns or sets a ColorFormat object that represents the foreground color for the fill, line, or shadow. Read/write.
Public property GradientAngle Returns or sets the angle of the gradient fill for the specified fill format. Read/write.
Public property GradientColorType Returns the gradient color type for the specified fill. Read-only.
Public property GradientDegree Returns a value that indicates how dark or light a one-color gradient fill is. Read-only.
Public property GradientStops Returns the GradientStops collection associated with the specified fill format. Read-only.
Public property GradientStyle Returns the gradient style for the specified fill. Read-only.
Public property GradientVariant Returns the gradient variant for the specified fill as an integer value from 1 to 4 for most gradient fills. Read-only.
Public property Parent Returns the parent object for the specified object.
Public property Pattern Sets or returns a value that represents the pattern applied to the specified fill. Read-only.
Public property PictureEffects Returns an object that represents the picture or texture fill for the specified fill format. Read-only.
Public property PresetGradientType Returns the preset gradient type for the specified fill. Read-only.
Public property PresetTexture Returns the preset texture for the specified fill. Read-only.
Public property RotateWithObject Returns or sets whether the fill rotates with the specified shape. Read/write.
Public property TextureAlignment Returns or sets the alignment (the origin of the coordinate grid) for the tiling of the texture fill. Read/write.
Public property TextureHorizontalScale Returns or sets the horizontal scaling factor for the texture fill. Read/write.
Public property TextureName Returns the name of the custom texture file for the specified fill. Read-only.
Public property TextureOffsetX Returns or sets the horizontal offset of the texture from the origin in points. Read/write.
Public property TextureOffsetY Returns or sets the vertical offset of the texture from the origin in points. Read/write.
Public property TextureTile Returns or sets whether the texture fill is tiled or centered. Read/write.
Public property TextureType Returns the texture type for the specified fill. Read-only.
Public property TextureVerticalScale Returns or sets the vertical scaling factor for the texture fill. Read/write.
Public property Transparency Returns or sets the degree of transparency of the specified fill, shadow, or line as a value between 0.0 (opaque) and 1.0 (clear). Read/write.
Public property Type Represent the type of fill. Read-only.
Public property Visible Returns or sets the visibility of the specified object or the formatting applied to the specified object. Read/write.

Top

Methods

  Name Description
Public method Background Specifies that the shape's fill should match the slide background. If you change the slide background after applying this method to a fill, the fill will also change.
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

See Also

Reference

FillFormat Interface

Microsoft.Office.Interop.PowerPoint Namespace