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 | |
---|---|---|
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. The two fill colors are specified by the ForeColor and BackColor properties. | |
UserPicture | Fills the specified shape with one large image. | |
UserTextured | Fills the specified shape with small tiles of an image. |
Properties
Name | Description | |
---|---|---|
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. | |
BackColor | Returns or sets a ColorFormat object representing the background color for the specified fill or patterned line. | |
ForeColor | Returns or sets a ColorFormat object representing the foreground color for the fill, line, or shadow. Read/write. | |
GradientColorType | Returns an MsoGradientColorType constant indicating the gradient color type for the specified fill. Read-only. | |
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. | |
GradientStyle | Returns an MsoGradientStyle constant indicating the gradient style for the specified fill. Read-only. | |
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. | |
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. | |
Pattern | Returns an MsoPatternType constant that represents the pattern applied to the specified fill or line. | |
PresetGradientType | Returns an MsoPresetGradientType that represents the preset gradient type for the specified fill. Read-only. | |
PresetTexture | Returns an MsoPresetTexture constant that represents the preset texture for the specified fill. Read-only. | |
TextureName | Returns a String indicating the name of the custom texture file for the specified fill. Read-only. | |
TextureType | Returns an MsoTextureType constant indicating the texture type for the specified fill. Read-only. | |
Type | Returns an MsoFillType constant that represents the fill format type of a shape. Read-only. | |
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. |