trichview.com

trichview.support




Re: Footer Page


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/05/2005 11:24:30


Vertically, the scheme of the last page is the following:


-------------------- <-- PageRect.Top

top margin

-------------------- <-- PrintAreaRect.Top

document

-------------------- <-- PrintAreaRect.Top+RVPrint.EndAt


-------------------- <-- PrintAreaRect.Bottom

bottom margin

-------------------- <-- PageRect.Bottom


where PageRect and PrintAreaRect are parameters of OnPagePrepaint (and

OnPagePostpaint), RVPrint is a TRVPrint component.


You can use these coordinates to position header and footer when drawing it

in these events.




> Hello,

>

> I would like to draw the bottom of page (footer) on the last page

> knowing that I do not know his height nor those of the elements to the

> top because all is made in dynamics.

>

> Thanks.

>

> DDFr.





Powered by ABC Amber Outlook Express Converter