Share via


FillFormat Members (Word)

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

Methods

Name

Description

OneColorGradient

Sets the specified fill to a one-color gradient.

Patterned

Sets the specified fill to a pattern.

PresetGradient

Sets the specified fill to a preset gradient.

PresetTextured

Sets the specified fill to a preset texture.

Solid

Sets the specified fill to a uniform color. .

TwoColorGradient

Sets the specified fill to a two-color gradient.

UserPicture

Fills the specified shape with one large image. .

UserTextured

Fills the specified shape with small tiles of an image.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

BackColor

Returns or sets a ColorFormat object that represents the background color for the fill Read/write.

Creator

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

ForeColor

Returns or sets a ColorFormat object that represents the foreground color for the fill. Read/write.

GradientAngle

Returns or sets the angle of the gradient fill for the specified fill format. Read/write.

GradientColorType

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

GradientDegree

Returns a value that indicates how dark or light a one-color gradient fill is. Read-only Single.

GradientStops

Returns the GradientStops collection associated with the specified fill format. Read-only.

GradientStyle

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

GradientVariant

Returns the gradient variant for the specified fill as an integer value from 1 to 4 for most gradient fills. Read-only Long.

Parent

Returns an Object that represents the parent object of the specified FillFormat object.

Pattern

Returns or sets a MsoPatternType constant that represents the pattern applied to the specified fill or line. Read-only.

PictureEffects

Returns a PictureEffects object that can be used to apply picture effects to the specified fill formatting. Read-only.

PresetGradientType

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

PresetTexture

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

RotateWithObject

Returns or sets whether the fill rotates with the specified shape. Read/write.

TextureAlignment

Returns or sets the alignment (the origin of the coordinate grid) for the tiling of the texture fill. Read/write.

TextureHorizontalScale

Returns or sets a Single that specifies the horizontal scaling factor for the texture fill. Read/write.

TextureName

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

TextureOffsetX

Returns or sets a Long that specifies the horizontal offset of the texture from the origin in points. Read/write.

TextureOffsetY

Returns or sets a Long that specifies the vertical offset of the texture from the origin in points. Read/write.

TextureTile

Returns or sets whether the texture fill is tiled or centered. Read/write.

TextureType

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

TextureVerticalScale

Returns or sets a Single that specifies the vertical scaling factor for the texture fill. Read/write.

Transparency

Returns or sets the degree of transparency of the specified fillfor a shape as a value between 0.0 (opaque) and 1.0 (clear). Read/write Single.

Type

Returns the shape fill format type. Read-only MsoFillType.

Visible

True if the specified object, or the formatting applied to it, is visible. Read/write MsoTriState.