<srcRect> (Source Rectangle)

This element specifies the portion of the blip used for the fill.

Each edge of the source rectangle is defined by a percentage offset from the corresponding edge of the bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. For example, a left offset of 25% specifies that the left edge of the source rectangle is located to the right of the bounding box's left edge by an amount equal to 25% of the bounding box's width.

Parent Elements

<blipFill>5.8.2.2); <blipFill>5.1.10.14); <blipFill>5.6.2.2); <blipFill>5.2.2.1); <blipFill>4.4.1.4)

Attributes

Description

<b> (Bottom Offset)

Specifies the bottom edge of the rectangle.

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

<l> (Left Offset)

Specifies the left edge of the rectangle.

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

<r> (Right Offset)

Specifies the right edge of the rectangle.

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

<t> (Top Offset)

Specifies the top edge of the rectangle.

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

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

<complexType name="CT_RelativeRect">
	<attribute name="l" type="ST_Percentage" use="optional" default="0"/>
	<attribute name="t" type="ST_Percentage" use="optional" default="0"/>
	<attribute name="r" type="ST_Percentage" use="optional" default="0"/>
	<attribute name="b" type="ST_Percentage" use="optional" default="0"/>
</complexType>