Share via


Source Element (RDL)

Indicates the source of the image specified in the Value element.

Syntax

<Image> <!-- or BackgroundImage -->
    ...
        <Source>...</Source>
       ...
</Image> <!-- or /BackgroundImage -->

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent elements

BackgroundImage, Image

Child element

None

Remarks

The Source element is a sibling of the Value element. The value of Source indicates the value of the Value element. The Source element must contain one of the values listed in the following table.

Value of Source element Description

External

Value contains a constant or an expression that evaluates to a relative path to the image on the report server.

Embedded

Value contains a constant or an expression that evaluates to the name of an embedded image within the report.

Database

Value contains an expression for a field in the database that evaluates to the binary data for an image.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance