TRVReportHelper.FormatNextPage

<< Click to display table of contents >>

TRVReportHelper.FormatNextPage

Formats next page(s) of document

function FormatNextPage(AMaxHeight: Integer): Boolean;

Call this method after Init several times, while it returns True.

Parameter:

AMaxHeight page height, pixels; page width is specified as a parameter of Init.

When the page is formatted, it can be drawn (DrawPage, DrawPageAt).

Sometimes, this method formats more than one page.

This method is fast. The most time consuming method is Init.

 

Return value:

True if not all pages were formatted;

False, if formatting is complete.