title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | ms.custom | f1_keywords | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a rectangle or container to a paginated report |
Separate or emphasize areas of a report or provide a background for one or more report items using a customized rectangle in Report Builder. |
maggiesMSFT |
maggies |
03/01/2017 |
reporting-services |
report-design |
conceptual |
updatefrequency5 |
|
[!INCLUDEssrs-appliesto] [!INCLUDE ssrs-appliesto-ssrs-rb] [!INCLUDE ssrs-appliesto-pbi-rb] [!INCLUDE ssrb-applies-to-ssdt-yes]
You can add a rectangle to a paginated report when you want a graphical element to separate areas of the report. You can also add a rectangle to emphasize areas of a report or provide a background for one or more report items. Rectangles are also used as containers to help control the way data regions render in a report. You can customize the appearance of a rectangle by editing rectangle properties such as the background and border colors. For more information about using a rectangle as a container, see Rectangles and lines (Report Builder) and Display the same data on a matrix and a chart (Report Builder).
-
On the Insert tab, in the Report Items group, select Rectangle.
-
On the design surface, choose the location where you want the upper left corner of the rectangle, and drag to where you want the lower-right corner.
As you move the cursor, "snap lines" appear as the cursor lines up with other objects on the design surface. These lines help you if you want objects to be aligned.
-
Add a rectangle report item to the report.
-
Drag other report items into the rectangle.
[!NOTE]
A rectangle is only a container for items that you either create in the rectangle or drag into the rectangle. If you draw a rectangle around an item that already exists on the design surface, the rectangle doesn't act as its container.
-
Select the rectangle, and then choose the line color, style, or weight options in the Border section of the Home tab.
-
Select the arrow next to the Border button to determine which sides of the rectangle to change.
[!NOTE]
If you set the line style to Double and the line width is 1 1/2 pt or narrower, the line might not appear double when you run the report in Report Builder, Report Designer, or in the [!INCLUDEssRSnoversion_md] web portal. It appears double when you export the report to other formats such as Microsoft Word and Acrobat PDF.
Rectangles and lines (Report Builder)
Renderer behaviors (Report Builder)