<< Click to display table of contents >> TRVPageNumberItemInfo |
TRVPageNumberItemInfo displays the current page number.
Unit RVFieldItems.
Syntax
TRVPageNumberItemInfo = class(TCustomRVPageNumberItemInfo)
(introduced in version 15)
TObject
TPersistent
TRVNonTextItemInfo
TRVRectItemInfo
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.
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.