Udostępnij za pośrednictwem


How to: Add a Background Image (Report Designer)

To add a background image

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

    Note

    Background images apply only to rectangle, text box, table, matrix, list, or report body items.

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

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

      Note

      To use an image from the project, select External.

    • 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 evaluate to 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. If the image is stored in the project, type the name of the image as it appears in the project.
      If the Source property is set to Embedded, the expression must evaluate to the name of an image that is embedded in the report. If the Source property is set to Database, the expression must evaluate to a field that contains binary image data. For more information, see Adding an Image to a Report.

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

      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.

See Also

Concepts

Adding an Image to a Report
Report Designer How-to Topics

Other Resources

Report Designer F1 Help

Help and Information

Getting SQL Server 2005 Assistance