[Table of Contents] [docx version]

VML Reference Material - VML

fill (Shape Fill Extended Properties)

This element specifies additional properties for fills. It is used to identify additional types of gradient fills beyond those specified in the fill element (§6.1.2.5).

Parent Elements

background2.2.1); fill6.1.2.5); hdrShapeDefaults2.15.1.50); object2.3.3.19); pict2.3.3.21); pict2.9.23); shapeDefaults2.15.1.79)

 

Attributes

Description

ext (VML Extension Handling Behavior)

 

Namespace: urn:schemas-microsoft-com:vml

Specifies an optional value that indicates how applications that implement VML should interpret extensions not defined as part of the original specification of core VML.

 

[Rationale: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. end rationale]

 

The possible values for this attribute are defined by the ST_Ext simple type (§6.1.3.3).

type (Fill Type)

Specifies the type of fill. If specified, this overrides the value of the type attribute in the parent fill element.

 

[Example: The gradientCenter value overrides gradientRadial:

 

<v:fill color2="black" focus="100%" type="gradientRadial">

<o:fill v:ext="view" type="gradientCenter"/>

</v:fill>

 

end example]

 

The possible values for this attribute are defined by the ST_FillType simple type (§6.2.3.11).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Fill">

   <attributeGroup ref="v:AG_Ext"/>

   <attribute name="type" type="ST_FillType"/>

</complexType>