2.190.4 TopImage.Value

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

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

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

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

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

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

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

Parent elements

TopImage

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

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