共用方式為


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

BackgroundImage, Image

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

說明及資訊

取得 SQL Server 2005 協助