rvico TRichView Reference | TRVPrint

TRVPrint.GetFooterRect

Top  Previous  Next

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

function GetFooterRect(PageNo: Integer): TRect;

(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.


TRichView © trichview.com