Class

# ReportPageNumberLabel

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

## Description

The current page number 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 |
|------------------------------------------------------|--------------------------------------------------------------|-----------|--------|
| `Back<reportpagenumberlabel.back>`                   | `Double</api/data_types/double>`                             |           |        |
| `BackColor<reportpagenumberlabel.backcolor>`         | `Color</api/data_types/color>`                               |           |        |
| `Bold<reportpagenumberlabel.bold>`                   | `Boolean</api/data_types/boolean>`                           |           |        |
| `DataField<reportpagenumberlabel.datafield>`         | `String</api/data_types/string>`                             |           |        |
| `HasBackColor<reportpagenumberlabel.hasbackcolor>`   | `Boolean</api/data_types/boolean>`                           |           |        |
| `Height<reportpagenumberlabel.height>`               | `Double</api/data_types/double>`                             |           |        |
| `Italic<reportpagenumberlabel.italic>`               | `Boolean</api/data_types/boolean>`                           |           |        |
| `Left<reportpagenumberlabel.left>`                   | `Double</api/data_types/double>`                             |           |        |
| `Linespacing<reportpagenumberlabel.linespacing>`     | `Double</api/data_types/double>`                             |           |        |
| `Multiline<reportpagenumberlabel.multiline>`         | `Boolean</api/data_types/boolean>`                           |           |        |
| `Name<reportpagenumberlabel.name>`                   | `String</api/data_types/string>`                             | ✓         |        |
| `Report<reportpagenumberlabel.report>`               | `Report</api/printing/reporting/report>`                     |           |        |
| `Tag<reportpagenumberlabel.tag>`                     | `Variant</api/data_types/variant>`                           |           |        |
| `Text<reportpagenumberlabel.text>`                   | `String</api/data_types/string>`                             |           |        |
| `TextAlign<reportpagenumberlabel.textalign>`         | `TextAlignment<rbreportcontrol.textalignment>`               |           |        |
| `TextColor<reportpagenumberlabel.textcolor>`         | `Color</api/data_types/color>`                               |           |        |
| `TextFont<reportpagenumberlabel.textfont>`           | `String</api/data_types/string>`                             |           |        |
| `TextSize<reportpagenumberlabel.textsize>`           | `Double</api/data_types/double>`                             |           |        |
| `TextUnit<reportpagenumberlabel.textunit>`           | `FontUnits</api/graphics/fontunits>`                         |           |        |
| `Top<reportpagenumberlabel.top>`                     | `Double</api/data_types/double>`                             |           |        |
| `Underline<reportpagenumberlabel.underline>`         | `Boolean</api/data_types/boolean>`                           |           |        |
| `VerticalAlign<reportpagenumberlabel.verticalalign>` | `VerticalAlignment<reportpagenumberlabel.verticalalignment>` |           |        |
| `Visible<reportpagenumberlabel.visible>`             | `Boolean</api/data_types/boolean>`                           |           |        |
| `Width<reportpagenumberlabel.width>`                 | `Double</api/data_types/double>`                             |           |        |
| `WordWrap<reportpagenumberlabel.wordwrap>`           | `Boolean</api/data_types/boolean>`                           |           |        |

## Methods

<div class="rst-class">

table-centered_column_4

</div>

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

## Events

<div class="rst-class">

table-centered_column_4

</div>

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

## Enumerations

<div id="reportpagenumberlabel.verticalalignment">

<div class="rst-class">

forsearch

</div>

</div>

ReportPageNumberLabel.VerticalAlignment

### VerticalAlignment

> Specifies the type of vertical alignment of the <span class="title-ref">ReportPageNumberLabel</span>.
>
> | Enum   |
> |--------|
> | Bottom |
> | Center |
> | Top    |

## Property descriptions

<div id="reportpagenumberlabel.back">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Back

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

> The opacity level of the border.

<div id="reportpagenumberlabel.backcolor">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.BackColor

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

> The background color for the control. If the control has a HasBackgroundColor property, it must be set to `True</api/language/true>` for the BackgroundColor to be displayed.
>
> This code sets the HasBackgroundColor property and sets the value of the BackgroundColor property:
>
> ``` xojo
> Me.HasBackgroundColor = True
> Me.BackgroundColor = &c110034
> ```

<div id="reportpagenumberlabel.bold">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Bold

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

> If `True</api/language/true>`, applies the bold style to the control's caption and/or its text content if any.
>
> This example sets the text to Bold.
>
> ``` xojo
> Me.Bold = True
> ```

<div id="reportpagenumberlabel.datafield">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.DataField

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

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

<div id="reportpagenumberlabel.hasbackcolor">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.HasBackColor

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

> If `True</api/language/true>`, the background color is set to BackColor.

<div id="reportpagenumberlabel.height">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.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="reportpagenumberlabel.italic">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Italic

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

> If `True</api/language/true>`, applies the italic style to the control's caption and/or its text content if any.
>
> The following sets the Italic property for the control.
>
> ``` xojo
> Me.Italic = True
> ```

<div id="reportpagenumberlabel.left">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.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="reportpagenumberlabel.linespacing">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Linespacing

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

> The linespacing in points between the lines of text in the label. This assumes that it is a multiline field.

<div id="reportpagenumberlabel.multiline">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Multiline

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

> If `True</api/language/true>`, the label can hold more than one line of text and the LineSpacing property is applicable.

<div id="reportpagenumberlabel.name">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Name

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

> The name of the object.

<div id="reportpagenumberlabel.report">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Report

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

> The report to which the object belongs.

<div id="reportpagenumberlabel.tag">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Tag

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

> A value that can be associated with the <span class="title-ref">ReportPageNumberLabel</span>.

<div id="reportpagenumberlabel.text">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Text

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

> The text that is displayed in the label. Used for display purposes only.

<div id="reportpagenumberlabel.textalign">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.TextAlign

**TextAlign** As `TextAlignment<rbreportcontrol.textalignment>`

> The alignment of the Text.
>
> The choices are:
>
> | Value | Description |
> |-------|-------------|
> | 0     | Left        |
> | 1     | Center      |
> | 2     | Right       |

<div id="reportpagenumberlabel.textcolor">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.TextColor

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

> Gets or sets the color of the caption or the text content. The default value is black.
>
> The following example sets the TextColor.
>
> ``` xojo
> Me.TextColor = Color.Red
> ```

<div id="reportpagenumberlabel.textfont">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.TextFont

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

> Name of the font used to display the caption or text content.
>
> You can enter any font that is installed on the computer or the names of the two metafonts, *System* and *SmallSystem*.
>
> The System font is the font used by the system software as its default font. Different operating systems use different default fonts. If the system software supports both a large and small System font, you can also specify the SmallSystem font as your TextFont.
>
> On macOS, SmallSystem specifies the OS's smaller system font and may make the control smaller in size as well. On Windows and Linux, SmallSystem is the same as System.

<div id="reportpagenumberlabel.textsize">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.TextSize

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

> The size of the text, measured in TextUnits.

<div id="reportpagenumberlabel.textunit">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.TextUnit

**TextUnit** As `FontUnits</api/graphics/fontunits>`

> The unit in which TextSize is measured.
>
> The choices are:
>
> | Value | Description |
> |-------|-------------|
> |       |             |
> | 0     | Default     |
> | 1     | Pixel       |
> | 2     | Point       |
> | 3     | Inch        |
> | 4     | Millimeter  |

<div id="reportpagenumberlabel.top">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.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="reportpagenumberlabel.underline">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Underline

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

> If `True</api/language/true>`, applies the underline style to the control's caption and/or its text content if any.

<div id="reportpagenumberlabel.verticalalign">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.VerticalAlign

**VerticalAlign** As `VerticalAlignment<reportpagenumberlabel.verticalalignment>`

> Specifies the type of vertical alignment of the <span class="title-ref">ReportPageNumberLabel</span>.

<div id="reportpagenumberlabel.visible">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.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="reportpagenumberlabel.width">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.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.

<div id="reportpagenumberlabel.wordwrap">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.WordWrap

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

> If `True</api/language/true>`, the multiline text will word wrap within the label boundaries.

## Method descriptions

<div id="reportpagenumberlabel.constructor0">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.Constructor

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

> Creates a new <span class="title-ref">ReportPageNumberLabel</span> with the passed name.
>
> <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="reportpagenumberlabel.controltype">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.ControlType

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

> Returns the type of the control.

## Event descriptions

<div id="reportpagenumberlabel.afterprinting">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.AfterPrinting

**AfterPrinting**

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

<div id="reportpagenumberlabel.beforeprinting">

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

</div>

<div class="rst-class">

forsearch

</div>

ReportPageNumberLabel.BeforePrinting

**BeforePrinting**

> Fires before the rendering takes place.

## Compatibility

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

<div class="seealso">

`ReportLabel</api/printing/reporting/reportlabel>` 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>`, `ReportLineShape</api/printing/reporting/reportlineshape>`, `ReportOvalShape</api/printing/reporting/reportovalshape>`, `ReportRectangleShape</api/printing/reporting/reportrectangleshape>`, `ReportRoundRetangleShape</api/printing/reporting/reportroundrectangleshape>`, `ReportPicture</api/printing/reporting/reportpicture>` classes.

</div>
