共用方式為


Value Element (Image, BackgroundImage) (RDL)

Identifies the source of the image.

語法

<Image Name="..."> <!-- or BackgroundImage -->
       ...
       <Value>...</Value>
       ...
</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 contents of the Value element and the data type it returns depends on the value of the Source element, which is a sibling to Value.

Value of Source element Description Data type returned

External

Value contains a constant or an expression that evaluates to a path to the image.

String

Embedded

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

String

Database

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

Binary

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助