Source Element (RDL)
Indicates the source of the image specified in the Value element.
语法
<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 |
|
Child element |
None |
备注
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. |
请参阅
参考
Report Definition XML Elements