Partager via


FillFormat Members

Include Protected Members
Include Inherited Members

Represents fill formatting for a shape.

The FillFormat type exposes the following members.

Properties

  Name Description
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property BackColor Returns a ColorFormat object that represents the specified fill background color.
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property ForeColor Returns a ColorFormat object that represents the specified foreground fill or solid color.
Public property GradientAngle Gets or sets the angle of the gradient fill for the specified fill format.
Public property GradientColorType Returns the gradient color type for the specified fill.
Public property 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).
Public property GradientStops Returns the end point for the gradient fill. Read-only.
Public property GradientStyle Returns the gradient style for the specified fill.
Public property GradientVariant Returns the shade variant for the specified fill as an integer value from 1 through 4.
Public property Parent Returns the parent object for the specified object.
Public property Pattern Returns or sets the fill pattern.
Public property PictureEffects Gets an object that represents the picture or texture fill for the specified fill format.
Public property PresetGradientType Returns the preset gradient type for the specified fill.
Public property PresetTexture Returns the preset texture for the specified fill.
Public property RotateWithObject Returns or sets if the fill style should rotate with the object. Read/write Microsoft.Office.Core.MsoTriState.
Public property TextureAlignment Returns or sets the text alignment for the specified FillFormatobject. Read/write.
Public property TextureHorizontalScale Returns or sets the value for horizontally scaling the text for the FillFormat object. Read/write Single.
Public property TextureName Returns the name of the custom texture file for the specified fill.
Public property TextureOffsetX Returns the offset X value for the specified fill. Read/write Single.
Public property TextureOffsetY Returns the offset Y value for the specified fill. Read/write Single.
Public property TextureTile Returns the texture tile style for the specified fill. Read/write MsoTriState.
Public property TextureType Returns the texture type for the specified fill. Read-only.
Public property TextureVerticalScale Returns the texture vertical scale for the specified fill. Read/write Single.
Public property Transparency Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
Public property Type Returns the fill type.
Public property Visible Determines whether the object is visible.

Top

Methods

  Name Description
Public method Background Reserved for internal use.
Public method OneColorGradient Sets the specified fill to a one-color gradient.
Public method Patterned Sets the specified fill to a pattern.
Public method PresetGradient Sets the specified fill to a preset gradient.
Public method PresetTextured Sets the specified fill format to a preset texture.
Public method Solid Sets the specified fill to a uniform color.
Public method TwoColorGradient Sets the specified fill to a two-color gradient.
Public method UserPicture Fills the specified shape with an image.
Public method UserTextured Fills the specified shape with small tiles of an image.

Top

See Also

Reference

FillFormat Interface

Microsoft.Office.Interop.Excel Namespace