MIMEType Element (RDL)
Contains an expression that identifies the Multipurpose Internet Mail Extensions (MIME) type of the image.
語法
<EmbeddedImage> <!-- or Image, BackgroundImage -->
...
<MIMEType>...</MIMEType>
...
<EmbeddedImage> <!-- or /Image, /BackgroundImage>
Element Characteristics
Characteristic | Description |
---|---|
Data type and length |
String |
Default value |
None |
Cardinality (when used as a child of EmbeddedImage) |
1-1: Required element that occurs once and only once. |
Cardinality (when used as a child of Image or BackgroundImage) |
0-1: Optional element that can occur once or not at all. |
Element Relationships
Relationship | Element |
---|---|
Parent elements |
|
Child element |
None |
備註
The following values are valid for the MIMEType element:
- image/bmp
- image/jpeg
- image/gif
- image/png
- image/x-png
When used within the Image element, MIMEType is required if the value of the Source element is Database. If the value of Source is not Database, MIMEType is ignored.
請參閱
參考
Report Definition XML Elements
Source Element (RDL)