2.294 BackgroundImage

The BackgroundImage element specifies the background images for a report item. If the grandparent element of the BackgroundImage element is not Rectangle, Textbox, Tablix, Body, PageSection, PageHeaderFooter, Page, List, Table, Matrix, Subtotal, Chart, ChartArea, ChartDataPoint, ChartEmptyPoints, ChartMarker, Marker, or ChartStripLine, the BackgroundImage element is ignored.

The following are the parent and child elements of the BackgroundImage element.

Parent elements

Style

Child elements

BackgroundImage.BackgroundRepeat

BackgroundImage.MIMEType

BackgroundImage.Position

BackgroundImage.Source

BackgroundImage.TransparentColor

BackgroundImage.Value

Applies to RDL 2012/01

Child elements

BackgroundImage.EmbeddingMode

BackgroundImage.Transparency

The following is the XML Schema definition of the BackgroundImage element.

Note  The following XSD represents RDL macro-versioned schemas only. Possible additions, identified earlier in this section, to base schema RDL 2010/01 from micro-versioned schemas RDL 2011/01, RDL 2012/01, and RDL 2013/01 are provided in sections 5.5, 5.6, and 5.7, respectively. For more information about macro- and micro-versioned schemas, see section 2.1.

 <xsd:complexType name="BackgroundImageType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Source">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="External" />
           <xsd:enumeration value="Embedded" />
           <xsd:enumeration value="Database" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="Value" type="xsd:string" />
     <xsd:element name="MIMEType" type="xsd:string" minOccurs="0" />
     <xsd:element name="TransparentColor" type="xsd:string" minOccurs="0" />
     <xsd:element name="BackgroundRepeat" type="xsd:string" minOccurs="0" />
     <xsd:element name="Position" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>