rvico TRichView Reference | TRVReportHelper

TRVReportHelper.GetLastPageHeight

Top  Previous  Next

Returns a real height of the last page, in device pixels

function GetLastPageHeight: Integer;

This function returns height of document on the last page, when the document is completely formatted (all calls to FormatNextPage are made).

The returned value is measured in ACanvas pixels, where ACanvas is the parameter of Init.

This method is useful if you draw/print several documents one after another.


TRichView © trichview.com