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

BackgroundImage, EmbeddedImage, Image

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)

帮助和信息

获取 SQL Server 2005 帮助