[Table of Contents] [docx version]

VML Reference Material - VML

ST_FillType (Shape Fill Type)

This simple type specifies the types for fills applied to a shape.

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value


background (Use Background Fill)

Use the fill properties of the background of the object on which the shape exists, such as the page.

frame (Stretch Image to Fit)

The image is stretched to fill the shape.

gradient (Linear Gradient)

The fill colors blend together in a linear gradient from bottom to top.

gradientCenter (Centered Radial Gradient)

This indicates that the gradient runs across the center of the shape for a gradient that is defined as gradientRadial in the parent fill element (§ that is defined in the VML namespace.

gradientRadial (Radial Gradient)

The fill colors blend together in a radial gradient.

gradientUnscaled (Unscaled Gradient)

The gradient angle is not scaled relative to the aspect ratio of the shape.


For example, the shapes below are twice as wide as they are tall. The first shape uses an unscaled gradient and the second uses a regular scaled gradient:

pattern (Image Pattern)

The image is used to create a pattern using the fill colors.

solid (Solid Fill)

The fill pattern is a solid color.

tile (Tiled Image)

The fill image is tiled.


Referenced By


The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_FillType">

   <restriction base="xsd:string">

   <enumeration value="gradientCenter"/>

   <enumeration value="solid"/>

   <enumeration value="pattern"/>

   <enumeration value="tile"/>

   <enumeration value="frame"/>

   <enumeration value="gradientUnscaled"/>

   <enumeration value="gradientRadial"/>

   <enumeration value="gradient"/>

   <enumeration value="background"/>