TRVPageNumberItemInfo

Properties   Methods

<< Click to display table of contents >>

TRVPageNumberItemInfo

Properties   Methods

TRVPageNumberItemInfo displays the current page number.

Unit RVFieldItems.

Syntax

TRVPageNumberItemInfo = class(TCustomRVPageNumberItemInfo)

(introduced in version 15)

Hierarchy

TObject

TPersistent

TCustomRVItemInfo

TRVNonTextItemInfo

TRVRectItemInfo

TRVLabelItemInfo

Using

When inserted in TRichView, it is displayed as Text (by default, as '{p}').

When printed with TRVPrint, it displays a number of the page where this item is located. Page numbers are counted from TRVPrint.PageNoFromNumber.

When drawing with TRVReportHelper, the default behavior is like in TRVPrint, but you can provide a value for the page number in OnGetPageNumber event.

srv_icon ScaleRichView: when inserted in TSRichViewEdit, it displays a number of the page where this item is located. Page numbers are counted from TSRichViewEdit.PageProperty.PageNoFromNumber.

A displayed page number is formatted according to NumberType property.