編輯

共用方式為


ChartFillFormat Interface

Definition

Used only with charts. Represents fill formatting for chart elements.

public interface class ChartFillFormat
[System.Runtime.InteropServices.Guid("000C171C-0000-0000-C000-000000000046")]
public interface ChartFillFormat
[<System.Runtime.InteropServices.Guid("000C171C-0000-0000-C000-000000000046")>]
type ChartFillFormat = interface
Public Interface ChartFillFormat
Attributes

Remarks

Use the ChartFillFormat property to return a ChartFillFormat object.

Properties

Application

Returns an Application object that represents the container application for the object.

BackColor

Returns or sets the fill background color.

Creator

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

ForeColor

Returns or sets the 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 object for the specified object. Read-only.

Pattern

Returns or sets the fill pattern.

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(Int32, Int32, Single)

Sets the specified fill to a one-color gradient.

Patterned(Int32)

Sets the specified fill to a pattern.

PresetGradient(Int32, Int32, Int32)

Sets the specified fill to a preset gradient.

PresetTextured(Int32)

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(Int32, Int32)

Sets the specified fill to a two-color gradient.

UserPicture(Object, Object, Object, Object)

Fills the specified shape with an image.

UserTextured(String)

Fills the specified shape with small tiles of an image. If you want to fill the shape with one large image, use the UserPicture(Object, Object, Object, Object) method.

Applies to