rvico TRichView Reference | TRVPrint


Top  Previous  Next

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

function GetHeaderRect(PageNo: Integer): TRect;

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

If the header 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:



TRichView © trichview.com