Dela via


Formatting Lines, Colors, and Images

Reporting Services gives you the ability to format lines, colors, data regions, images, and other report items. 

Borders, Lines and Gridlines

Borders, lines, and gridlines can visually tie items together on the page and help your report readers easily read the contents of the report. Using the predefined border styles, you can quickly add a border around a text box, a group of text boxes, or an image. In addition, you can change the style, width, and color for the borders, lines, and gridlines. Borders are added around the entire item selected or around a border along an edge of the item, for example, a border along the bottom of a text box.

To format borders and gridlines in a text box, report layout, or around an image, use the report item's Properties, Border dialog box. For example, if you want to add a border around an image, right-click the image and then select Image Properties, Border.

In addition to the standard border frames, additional border frames can be applied to charts. For more information, see How to: Select a Border Frame for a Chart.

Applying Background Colors

A solid color can be added to the background of the entire report, a text box within the report, or to a cell or group of cells within a data region. By default, the background color is white; however, you can select a color from the report item's Properties, Fill dialog box. For example, if you want to change the background color of a text box, right-click the text box and select Text Box Properties. Click Fill and then you can select the color you want. In this dialog box, you can select a background color for the selected item or you can add an image that appears in the background.

When you use the chart, you can also specify gradients and pattern styles for background colors. For more information, see Formatting a Chart.

Formatting Images

Fields that contain images can be added to a data region. If you use an image field, the images appear in the report with the report is run. You can adjust the height and width of the images by changing the display size in the Image Properties, Size dialog box.

Images, such as logos, can also be added to the background of your report. If you use an image in your report layout, you can adjust the height and width of the images using the Image Properties dialog box. For more information, see Adding Images to a Report.

You can apply a background image to a rectangle, text box, table, matrix, or to the body and page sections of a report.