Share via


FillFormat Object Members

Publisher Developer Reference

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

Methods

  Name Description
Aa437633.methods(en-us,office.12).gif OneColorGradient Sets the specified fill to a one-color gradient.
Aa437633.methods(en-us,office.12).gif Patterned Sets the specified fill to a pattern.
Aa437633.methods(en-us,office.12).gif PresetGradient Sets the specified fill to a preset gradient.
Aa437633.methods(en-us,office.12).gif PresetTextured Sets the specified fill to a preset texture.
Aa437633.methods(en-us,office.12).gif 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.
Aa437633.methods(en-us,office.12).gif TwoColorGradient Sets the specified fill to a two-color gradient. The two fill colors are specified by the ForeColor and BackColor properties.
Aa437633.methods(en-us,office.12).gif UserPicture Fills the specified shape with one large image.
Aa437633.methods(en-us,office.12).gif UserTextured Fills the specified shape with small tiles of an image.

Properties

  Name Description
Aa437633.properties(en-us,office.12).gif Application Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.
Aa437633.properties(en-us,office.12).gif BackColor Returns or sets a ColorFormat object representing the background color for the specified fill or patterned line.
Aa437633.properties(en-us,office.12).gif ForeColor Returns or sets a ColorFormat object representing the foreground color for the fill, line, or shadow. Read/write.
Aa437633.properties(en-us,office.12).gif GradientColorType Returns an MsoGradientColorType constant indicating the gradient color type for the specified fill. Read-only.
Aa437633.properties(en-us,office.12).gif GradientDegree Returns a Single indicating how dark or light a one-color gradient fill is. A value of 0 (zero) means that black is mixed in with the shape's foreground color to form the gradient; a value of 1 means that white is mixed in; and values between 0 and 1 mean that a darker or lighter shade of the foreground color is mixed in. Read-only.
Aa437633.properties(en-us,office.12).gif GradientStyle Returns an MsoGradientStyle constant indicating the gradient style for the specified fill. Read-only.
Aa437633.properties(en-us,office.12).gif GradientVariant Returns a Long indicating the gradient variant for the specified fill. Generally, values are integers from 1 to 4 for most gradient fills. If the gradient style is msoGradientFromTitle or msoGradientFromCenter, this property returns either 1 or 2. 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.
Aa437633.properties(en-us,office.12).gif Parent Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only.
Aa437633.properties(en-us,office.12).gif Pattern Returns an MsoPatternType constant that represents the pattern applied to the specified fill or line.
Aa437633.properties(en-us,office.12).gif PresetGradientType Returns an MsoPresetGradientType that represents the preset gradient type for the specified fill. Read-only.
Aa437633.properties(en-us,office.12).gif PresetTexture Returns an MsoPresetTexture constant that represents the preset texture for the specified fill. Read-only.
Aa437633.properties(en-us,office.12).gif TextureName Returns a String indicating the name of the custom texture file for the specified fill. Read-only.
Aa437633.properties(en-us,office.12).gif TextureType Returns an MsoTextureType constant indicating the texture type for the specified fill. Read-only.
Aa437633.properties(en-us,office.12).gif Type Returns an MsoFillType constant that represents the fill format type of a shape. Read-only.
Aa437633.properties(en-us,office.12).gif Visible Returns or sets an MsoTriState constant indicating whether the specified object or the formatting applied to the specified object is visible. Read/write.MsoTriState can be one of these MsoTriState constants.msoCTrue Not used with this property.msoFalse The specified object or formatting is not visible.msoTriStateMixed Return value only. The specified shape range contains both objects with visible formatting and objects with invisible formatting.msoTriStateToggle Set value only. Toggles the specified object between visible and invisble.msoTrue The specified object or formatting is visible.