MIMEType Element (RDL)

Contains an expression that identifies the Multipurpose Internet Mail Extensions (MIME) type of the image.

Syntax

<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

Remarks

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.

See Also

Reference

Report Definition XML Elements
Source Element (RDL)

Help and Information

Getting SQL Server 2005 Assistance