How to: Embed an Image in a Report (Report Builder 2.0)
A report can include an embedded image. Embedding an image ensures that the image is always available to a report, but can affect the size of the report definition, the file that defines the report. To view the list of images embedded in a report, use the Report Data pane.
Adding an embedded image is a two-step process: First you add the embedded image to the report definition; then you add the image to the report layout. For more information, see How to: Add an Image (Report Builder 2.0).
To embed an image in a report
In Design view, in the Report Data pane, right-click the Images node, and then click Add Image.
If the Report Data pane is not visible, on the View tab, click Report Data.
In the Image Properties dialog box, type a name in the Name text box or accept the default.
(optional) In the ToolTip text box, type a tooltip that you want to appear when the user hovers a mouse over the image in the rendered report.
In Select the image source, select Embedded from the drop-down list.
In the Use this image text box, type the path to the image file.
Alternatively, click Import, navigate to the file, and then click Open. In Files of type, select the image file type, select the file, and then click Open.
The file is displayed under the Images folder in the Report Data pane.
The MIME type (for example, bmp) is derived automatically when the image is imported. To change the MIME type, see the next procedure.
To add the image to the report layout, drag the image from the Report Data pane to the design surface. The Image Properties dialog box opens.
(optional) To change the MIME type of an imported image
Open the report in Design view.
Select the image on the design surface. The Properties pane displays the image properties.
If the Properties pane is not visible, on the View tab, click Properties.
Click in the text box next to the MIMEType property and select a new MIME type from the drop-down list.