FillFormat FillFormat FillFormat Interface

Definition

Represents fill formatting for a shape.

public interface class FillFormat : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0314-0000-0000-C000-000000000046")]
public interface FillFormat : Microsoft.Office.Core._IMsoDispObj
Public Interface FillFormat
Implements _IMsoDispObj
Attributes
Implements

Remarks

A shape can have a solid, gradient, texture, pattern, picture, or semi-transparent fill.

Use the Fill property to return a FillFormat object.

Many of the properties of the FillFormat object are read-only. To set one of these properties, you have to apply the corresponding method.

Properties

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

BackColor BackColor BackColor

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

Creator Creator Creator

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

ForeColor ForeColor ForeColor

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

GradientAngle GradientAngle GradientAngle

Gets or sets the angle of the gradient fill for the specified fill format.

GradientColorType GradientColorType GradientColorType

Returns the gradient color type for the specified fill.

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

GradientStops GradientStops GradientStops

Returns the end point for the gradient fill. Read-only.

GradientStyle GradientStyle GradientStyle

Returns the gradient style for the specified fill.

GradientVariant GradientVariant GradientVariant

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

Parent Parent Parent

Returns the parent object for the specified object.

Pattern Pattern Pattern

Returns or sets the fill pattern.

PictureEffects PictureEffects PictureEffects

Gets an object that represents the picture or texture fill for the specified fill format.

PresetGradientType PresetGradientType PresetGradientType

Returns the preset gradient type for the specified fill.

PresetTexture PresetTexture PresetTexture

Returns the preset texture for the specified fill.

RotateWithObject RotateWithObject RotateWithObject

Returns or sets if the fill style should rotate with the object. Read/write MsoTriState.

TextureAlignment TextureAlignment TextureAlignment

Returns or sets the text alignment for the specified FillFormatobject. Read/write.

TextureHorizontalScale TextureHorizontalScale TextureHorizontalScale

Returns or sets the value for horizontally scaling the text for the FillFormat object. Read/write Single.

TextureName TextureName TextureName

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

TextureOffsetX TextureOffsetX TextureOffsetX

Returns the offset X value for the specified fill. Read/write Single.

TextureOffsetY TextureOffsetY TextureOffsetY

Returns the offset Y value for the specified fill. Read/write Single.

TextureTile TextureTile TextureTile

Returns the texture tile style for the specified fill. Read/write MsoTriState.

TextureType TextureType TextureType

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

TextureVerticalScale TextureVerticalScale TextureVerticalScale

Returns the texture vertical scale for the specified fill. Read/write Single.

Transparency Transparency Transparency

Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

Type Type Type

Returns the fill type.

Visible Visible Visible

Determines whether the object is visible.

Methods

Background() Background() Background()

Reserved for internal use.

OneColorGradient(MsoGradientStyle, Int32, Single) OneColorGradient(MsoGradientStyle, Int32, Single) OneColorGradient(MsoGradientStyle, Int32, Single)

Sets the specified fill to a one-color gradient.

Patterned(MsoPatternType) Patterned(MsoPatternType) Patterned(MsoPatternType)

Sets the specified fill to a pattern.

PresetGradient(MsoGradientStyle, Int32, MsoPresetGradientType) PresetGradient(MsoGradientStyle, Int32, MsoPresetGradientType) PresetGradient(MsoGradientStyle, Int32, MsoPresetGradientType)

Sets the specified fill to a preset gradient.

PresetTextured(MsoPresetTexture) PresetTextured(MsoPresetTexture) PresetTextured(MsoPresetTexture)

Sets the specified fill format to a preset texture.

Solid() Solid() Solid()

Sets the specified fill to a uniform color.

TwoColorGradient(MsoGradientStyle, Int32) TwoColorGradient(MsoGradientStyle, Int32) TwoColorGradient(MsoGradientStyle, Int32)

Sets the specified fill to a two-color gradient.

UserPicture(String) UserPicture(String) UserPicture(String)

Fills the specified shape with an image.

UserTextured(String) UserTextured(String) UserTextured(String)

Fills the specified shape with small tiles of an image.

Applies to