ChartFillFormat Interface

Definition

Represents fill formatting for chart elements.

public interface class ChartFillFormat
[System.Runtime.InteropServices.Guid("F152D349-7D20-4C01-A42B-2D6DE4F3891C")]
public interface ChartFillFormat
type ChartFillFormat = interface
Public Interface ChartFillFormat
Attributes

Remarks

Use the Fill property of the DownBars and UpBars objects to return a ChartFillFormat object.

Properties

Application

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Word application. When used with an object qualifier, this property returns an _Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

BackColor

Returns the specified fill background color. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.

ForeColor

Returns or sets the specified foreground fill or solid color.

GradientColorType

Returns the gradient color type for the specified fill. Read-only.

GradientDegree

Returns the gradient degree of the specified one-color shaded fill as a floating-point value from 0.0 (dark) through 1.0 (light). Read-only.

GradientStyle

Returns the gradient style for the specified fill. Read-only.

GradientVariant

Returns the shade variant for the specified fill as an integer value from 1 through 4. 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 the parent for the specified object. Read-only.

Pattern

Returns the fill pattern. Read-only.

PresetGradientType

Returns the preset gradient type for the specified fill. Read-only.

PresetTexture

Returns the preset texture for the specified fill. Read-only.

TextureName

Returns the name of the custom texture file for the specified fill. Read-only.

TextureType

Returns the texture type for the specified fill. Read-only.

Type

Returns the fill type.

Visible

Returns or sets a MsoTriState value that determines whether the object is visible. Read/write.

Methods

OneColorGradient(MsoGradientStyle, Int32, Single)

Sets the specified fill to a one-color gradient.

Patterned(MsoPatternType)

Sets the specified fill to a pattern.

PresetGradient(MsoGradientStyle, Int32, MsoPresetGradientType)

Sets the specified fill to a preset gradient.

PresetTextured(MsoPresetTexture)

Sets the specified fill format 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(MsoGradientStyle, Int32)

Sets the specified fill to a two-color gradient.

UserPicture(Object, Object, Object, Object)

Fills the specified shape with one large image.

UserTextured(String)

Fills the specified shape with small tiles of an image.

Applies to