How to: Add a Background Image (Report Builder 2.0)

You can add a background image to a report item such as a rectangle or chart, or a report section such as the page header, page footer, report body, or rectangle. The background image can be a URL to an image on the report server, an image from a dataset field, or an image embedded in the report definition.

To add a background image

  1. In Design view, select the report item to which you want to add a background image.

    Note

    Background images apply to rectangle, text box, list, matrix, table, page header, page footer, report body, chart, and some parts of a chart, for example, a chart area. You can define a background image for any selected item on the report design surface that displays BackgroundImage in the Properties pane. If the Properties pane is not visible, on the View tab, select Properties.

  2. In the Properties pane, expand BackgroundImage, and then do the following:

    • For Source, select External, Embedded, or Database.

      Select External if the image is on the report server.

      Select Embedded if the image is part of the report definition—part of the report itself.

      Select Database if the image is contained in a field in the database to which the report item is connected.

    • For Value, type or select an expression that evaluates to the source of the image. If the Source property is set to:

      External: The expression must be a valid path to an image. This can be a static path to an image hosted on a report server, or it can be a path based on a field.

      Embedded: The expression must evaluate to the name of an image that is embedded in the report—i.e., it must start with an equal sign (=) and be enclosed in quotation marks (").

      Database: The expression must evaluate to a field that contains binary image data. For more information, see Adding Images (Report Builder 2.0).

    • For MIMEType, select the appropriate MIME type for the image—for example, bmp.

      Note

      MIMEType applies only if the Source property is set to Database. If the Source property is set to External or Embedded, the value of MIMEType is ignored.

    • For BackgroundRepeat, select Repeat, NoRepeat, RepeatX, or RepeatY.

      For background images in a chart, BackgroundRepeat can be set to Fit, but not RepeatX or RepeatY.