2.202.4 CapImage.Value

Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01

The CapImage.Value element specifies either the location or the actual data of an image, depending on the value of the peer CapImage.Source element. The CapImage.Value element MUST be specified.

If the peer CapImage.Source element is set to "External" and if the value of the CapImage.Value element is not empty, then the value of the CapImage.Value element MUST be a String ([XMLSCHEMA2/2] section 3.2.1) constant or an expression that evaluates to the location of an image. This location MUST be a ReportPath or an RdlURL value.

If the peer CapImage.Source element is set to "Embedded" and if the value of the CapImage.Value element is not empty, then the value of the CapImage.Value element MUST be a String constant or an expression that evaluates to the name of a CapImage.Value in the report.

If the peer CapImage.Source element is set to "Database" and if the value of the CapImage.Value element is not empty, then the value of the CapImage.Value element MUST be an expression that evaluates to the binary data for an image.

If the CapImage.Value element has an empty value, the image MUST NOT be displayed.

The following is the parent element of the CapImage.Value element.

Parent elements

CapImage

The following is the XML Schema definition of the CapImage.Value element.

 <xsd:element name="Value" type="xsd:string" minOccurs="1" "/>