rvico TRichView Reference | TRVReportHelper

TRVReportHelper.UpdatePageNumbers

Top  Previous  Next

Recalculates page numbers.

procedure UpdatePageNumbers;

(introduced in version 15)

This method recalculates values of "page number" and "page count" fields.

Normally, values of these fields are calculated when the last page is formatted.

This procedure needs to be called if values of "page number" field are changed. For example, if this RVReportHelper is used to draw the same content on each page, you can provide a number of this page in OnGetPageNumber event, and call UpdatePageNumber before drawing.


TRichView © trichview.com