TRVPrint.GetFooterRect

<< Click to display table of contents >>

TRVPrint.GetFooterRect

Returns coordinates of the footer for the page PageNo (from 1), in printer pixels

function GetFooterRect(PageNo: Integer): TRVCoordRect;

(introduced in version 1.7; the parameter is added in version 15)

If the footer is empty, the function returns an empty rectangle (Rect(0,0,0,0)).

This function may be called only when the document is prepared for printing (see FormatPages).

This function can be used in OnPagePrepaint and OnPagePostpaint events.

See also:

SetFooter;

GetHeaderRect.