編輯

共用方式為


ChartFillFormat Interface

Definition

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

public interface class ChartFillFormat
[System.Runtime.InteropServices.Guid("00024435-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ChartFillFormat
Public Interface ChartFillFormat
Attributes

Remarks

Use the Fill property to return a ChartFillFormat object.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

BackColor

Returns a ChartColorFormat object that represents the specified fill background color.

Creator

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

ForeColor

Returns a ChartColorFormat object that represents the specified foreground fill or solid color.

GradientColorType

Returns the gradient color type for the specified fill.

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).

GradientStyle

Returns the gradient style for the specified fill.

GradientVariant

Returns the shade variant for the specified fill as an integer value from 1 through 4.

Parent

Returns the parent object for the specified object.

Pattern

Returns or sets the fill pattern.

PresetGradientType

Returns the preset gradient type for the specified fill.

PresetTexture

Returns the preset texture for the specified fill.

TextureName

Returns the name of the custom texture file for the specified fill.

TextureType

Returns the texture type for the specified fill.

Type

Returns the fill type.

Visible

Determines whether the object is visible.

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.

TwoColorGradient(MsoGradientStyle, 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.

Applies to