#1 2012-02-02 09:32:49

gerardus
Member
Registered: 2012-02-01
Posts: 3

Report header

Hi all,

Do you know if it's possible to print a header containing a bitmap on every new page of the report using TGDIPages?
If so, some code would be greatly appreciated.

Best regards,

Gerard.

Offline

#2 2012-02-02 10:07:28

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Report header

See the OnStartPageHeader and OnEndPageHeader event handlers.
The Sender is the current TGDIPages instance.

You can easily add a bitmap to every header using one of those events.

Offline

#3 2012-02-02 10:45:34

gerardus
Member
Registered: 2012-02-01
Posts: 3

Re: Report header

Thx, it works like a charm.
BTW, it's an excellent library, thanks a lot Arnaud.

Gerard.

Offline

#4 2012-02-02 15:34:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: Report header

You are welcome!
big_smile

Offline

Board footer

Powered by FluxBB