Class

# ReportRoundRectangleShape

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

An round rectangle in a report created with the `Report Layout Editor</getting_started/using_the_ide/report_layout_editor>`.

## Properties

<div class="rst-class">

table-centered_columns_3_and_4

</div>

| Name                                                   | Type                                     | Read-Only | Shared |
|--------------------------------------------------------|------------------------------------------|-----------|--------|
| `Border<reportroundrectangleshape.border>`             | `Double</api/data_types/double>`         |           |        |
| `BorderColor<reportroundrectangleshape.bordercolor>`   | `Color</api/data_types/color>`           |           |        |
| `BorderWidth<reportroundrectangleshape.borderwidth>`   | `Integer</api/data_types/integer>`       |           |        |
| `CornerHeight<reportroundrectangleshape.cornerheight>` | `Double</api/data_types/double>`         |           |        |
| `CornerWidth<reportroundrectangleshape.cornerwidth>`   | `Double</api/data_types/double>`         |           |        |
| `DataField<reportroundrectangleshape.datafield>`       | `String</api/data_types/string>`         |           |        |
| `Fill<reportroundrectangleshape.fill>`                 | `Double</api/data_types/double>`         |           |        |
| `FillColor<reportroundrectangleshape.fillcolor>`       | `Color</api/data_types/color>`           |           |        |
| `Height<reportroundrectangleshape.height>`             | `Double</api/data_types/double>`         |           |        |
| `Index<reportroundrectangleshape.index>`               | `Integer</api/data_types/integer>`       |           |        |
| `Left<reportroundrectangleshape.left>`                 | `Integer</api/data_types/integer>`       |           |        |
| `Name<reportroundrectangleshape.name>`                 | `String</api/data_types/string>`         |           |        |
| `PenHeight<reportroundrectangleshape.penheight>`       | `Integer</api/data_types/integer>`       |           |        |
| `PenWidth<reportroundrectangleshape.penwidth>`         | `Integer</api/data_types/integer>`       |           |        |
| `Report<reportroundrectangleshape.report>`             | `Report</api/printing/reporting/report>` |           |        |
| `Tag<reportroundrectangleshape.tag>`                   | `Variant</api/data_types/variant>`       |           |        |
| `Top<reportroundrectangleshape.top>`                   | `Integer</api/data_types/integer>`       |           |        |
| `Visible<reportroundrectangleshape.visible>`           | `Boolean</api/data_types/boolean>`       |           |        |
| `Width<reportroundrectangleshape.width>`               | `Double</api/data_types/double>`         |           |        |

## Methods

<div class="rst-class">

table-centered_column_4

</div>

| Name                                                 | Parameters                                      | Returns                          | Shared |
|------------------------------------------------------|-------------------------------------------------|----------------------------------|--------|
| `Constructor<reportroundrectangleshape.constructor>` | controlName As `String</api/data_types/string>` |                                  |        |
| `ControlType<reportroundrectangleshape.controltype>` |                                                 | `String</api/data_types/string>` |        |

## Events

<div class="rst-class">

table-centered_column_4

</div>

| Name                                                       | Parameters | Returns |
|------------------------------------------------------------|------------|---------|
| `AfterPrinting<reportroundrectangleshape.afterprinting>`   |            |         |
| `BeforePrinting<reportroundrectangleshape.beforeprinting>` |            |         |

## Property descriptions

<div id="reportroundrectangleshape.border">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Border

**Border** As `Double</api/data_types/double>`

> The opacity level of the border.

<div id="reportroundrectangleshape.bordercolor">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.BorderColor

**BorderColor** As `Color</api/data_types/color>`

> The color of the object's border.

<div id="reportroundrectangleshape.borderwidth">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.BorderWidth

**BorderWidth** As `Integer</api/data_types/integer>`

> The width of the border, in points. The default is 1.

<div id="reportroundrectangleshape.cornerheight">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.CornerHeight

**CornerHeight** As `Double</api/data_types/double>`

> The height of the inset corner oval in pixels. The default is 16.

<div id="reportroundrectangleshape.cornerwidth">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.CornerWidth

**CornerWidth** As `Double</api/data_types/double>`

> The width of the inset corner oval in pixels. The default is 16.

<div id="reportroundrectangleshape.datafield">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.DataField

**DataField** As `String</api/data_types/string>`

> The name of the field from the data source to bind to the control.

<div id="reportroundrectangleshape.fill">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Fill

**Fill** As `Double</api/data_types/double>`

> The opacity of the interior, from 0 (completely transparent) to 100 (opaque).

<div id="reportroundrectangleshape.fillcolor">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.FillColor

**FillColor** As `Color</api/data_types/color>`

> The color of the interior of the shape.

<div id="reportroundrectangleshape.height">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Height

**Height** As `Double</api/data_types/double>`

> The height of the control in `Units<reports.units>`. Height is relative to the section the control is in.

<div id="reportroundrectangleshape.index">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Index

**Index** As `Integer</api/data_types/integer>`

> The object's numeric position within the list of objects on the report.

<div id="reportroundrectangleshape.left">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Left

**Left** As `Integer</api/data_types/integer>`

> The left side of the control in `Units<reports.units>`. Left is relative to the section the control is in.

<div id="reportroundrectangleshape.name">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Name

**Name** As `String</api/data_types/string>`

> The name of the object.

<div id="reportroundrectangleshape.penheight">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.PenHeight

**PenHeight** As `Integer</api/data_types/integer>`

> The height in pixels used when drawing.

<div id="reportroundrectangleshape.penwidth">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.PenWidth

**PenWidth** As `Integer</api/data_types/integer>`

> The width in pixels used when drawing.

<div id="reportroundrectangleshape.report">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Report

**Report** As `Report</api/printing/reporting/report>`

> The report to which the object belongs.

<div id="reportroundrectangleshape.tag">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Tag

**Tag** As `Variant</api/data_types/variant>`

> A value that can be associated with the shape.

<div id="reportroundrectangleshape.top">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Top

**Top** As `Integer</api/data_types/integer>`

> The top of the control in `Units<reports.units>`. Top is relative to the section the control is in.

<div id="reportroundrectangleshape.visible">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Visible

**Visible** As `Boolean</api/data_types/boolean>`

> If `True</api/language/true>`, the control is visible. The default is `True</api/language/true>`.

<div id="reportroundrectangleshape.width">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Width

**Width** As `Double</api/data_types/double>`

> The width of the control in `Units<reports.units>`. Width is relative to the section the control is in.

## Method descriptions

<div id="reportroundrectangleshape.constructor">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.Constructor

**Constructor**(controlName As `String</api/data_types/string>`)

> Creates a new <span class="title-ref">ReportRoundRectangleShape</span> with the name passed.
>
> <div class="note">
>
> <div class="title">
>
> Note
>
> </div>
>
> `Constructors</api/language/constructor>` are special methods called when you create an Object With the `New</api/language/New>` keyword And pass In the parameters above.
>
> </div>

<div id="reportroundrectangleshape.controltype">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.ControlType

**ControlType** As `String</api/data_types/string>`

> Returns the type of the control.

## Event descriptions

<div id="reportroundrectangleshape.afterprinting">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.AfterPrinting

**AfterPrinting**

> Called after the control has rendered the data for printing.

<div id="reportroundrectangleshape.beforeprinting">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

ReportRoundRectangleShape.BeforePrinting

**BeforePrinting**

> Fires before the rendering takes place.

## Compatibility

|                       |         |
|-----------------------|---------|
| **Project Types**     | Desktop |
| **Operating Systems** | All     |

<div class="seealso">

`RBReportControl</api/printing/reporting/rbreportcontrol>` parent class; `Reports Module</api/printing/reporting/reports_module>` module; `RBReportDocument</api/printing/reporting/rbreportdocument>`, `ReportField</api/printing/reporting/reportfield>`, `Report</api/printing/reporting/report>`, `ReportLabel</api/printing/reporting/reportlabel>`, `ReportLineShape</api/printing/reporting/reportlineshape>`, `ReportOvalShape</api/printing/reporting/reportovalshape>`, `ReportRectangleShape</api/printing/reporting/reportrectangleshape>`, `ReportPicture</api/printing/reporting/reportpicture>` classes.

</div>
