Class

# ReportOvalShape

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

## Description

An oval 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<reportovalshape.border>`           | `Double</api/data_types/double>`         |           |        |
| `BorderColor<reportovalshape.bordercolor>` | `Color</api/data_types/color>`           |           |        |
| `BorderWidth<reportovalshape.borderwidth>` | `Integer</api/data_types/integer>`       |           |        |
| `DataField<reportovalshape.datafield>`     | `String</api/data_types/string>`         |           |        |
| `Fill<reportovalshape.fill>`               | `Double</api/data_types/double>`         |           |        |
| `FillColor<reportovalshape.fillcolor>`     | `Color</api/data_types/color>`           |           |        |
| `Height<reportovalshape.height>`           | `Double</api/data_types/double>`         |           |        |
| `Left<reportovalshape.left>`               | `Double</api/data_types/double>`         |           |        |
| `Name<reportovalshape.name>`               | `String</api/data_types/string>`         | ✓         |        |
| `PenHeight<reportovalshape.penheight>`     | `Integer</api/data_types/integer>`       |           |        |
| `PenWidth<reportovalshape.penwidth>`       | `Integer</api/data_types/integer>`       |           |        |
| `Report<reportovalshape.report>`           | `Report</api/printing/reporting/report>` |           |        |
| `Tag<reportovalshape.tag>`                 | `Variant</api/data_types/variant>`       |           |        |
| `Top<reportovalshape.top>`                 | `Double</api/data_types/double>`         |           |        |
| `Visible<reportovalshape.visible>`         | `Boolean</api/data_types/boolean>`       |           |        |
| `Width<reportovalshape.width>`             | `Double</api/data_types/double>`         |           |        |

## Methods

<div class="rst-class">

table-centered_column_4

</div>

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

## Events

<div class="rst-class">

table-centered_column_4

</div>

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

## Enumerations

<div id="reportovalshape.linestyles">

<div class="rst-class">

forsearch

</div>

</div>

ReportOvalShape.LineStyles

### LineStyles

> The styles available for drawing the border.
>
> | Name            |
> |-----------------|
> | Solid = 0       |
> | Transparent = 1 |
> | Dot = 2         |
> | Dash = 3        |

## Property descriptions

<div id="reportovalshape.border">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Border

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

> The opacity of the border.

<div id="reportovalshape.bordercolor">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.BorderColor

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

> The color of the object's border.

<div id="reportovalshape.borderwidth">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.BorderWidth

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

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

<div id="reportovalshape.datafield">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.DataField

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

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

<div id="reportovalshape.fill">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Fill

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

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

<div id="reportovalshape.fillcolor">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.FillColor

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

> The color of the interior of the shape.

<div id="reportovalshape.height">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.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="reportovalshape.left">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Left

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

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

<div id="reportovalshape.name">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Name

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

> The name of the object.
>
> This property is read-only.

<div id="reportovalshape.penheight">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.PenHeight

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

> The height in pixels used when drawing.

<div id="reportovalshape.penwidth">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.PenWidth

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

> The width in pixels used when drawing.

<div id="reportovalshape.report">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Report

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

> The report to which the object belongs.

<div id="reportovalshape.tag">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Tag

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

> A value that can be associated with the shape.

<div id="reportovalshape.top">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Top

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

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

<div id="reportovalshape.visible">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.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="reportovalshape.width">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.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="reportovalshape.constructor">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.Constructor

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

> Creates a new <span class="title-ref">ReportOvalShape</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="reportovalshape.controltype">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.ControlType

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

> Returns the type of the control.

## Event descriptions

<div id="reportovalshape.afterprinting">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.AfterPrinting

**AfterPrinting**

> The shape has just been printed.

<div id="reportovalshape.beforeprinting">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportOvalShape.BeforePrinting

**BeforePrinting**

> The shape is about to be printed.

## 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>`, `Report</api/printing/reporting/report>`, `ReportField</api/printing/reporting/reportfield>`, `ReportLabel</api/printing/reporting/reportlabel>`, `ReportLineShape</api/printing/reporting/reportlineshape>`, `ReportRectangleShape</api/printing/reporting/reportrectangleshape>`, `ReportRoundRetangleShape</api/printing/reporting/reportroundrectangleshape>`. `ReportPicture</api/printing/reporting/reportpicture>` classes.

</div>
