You are not logged in.
Pages: 1
I would like to generate a PDF file by using TGDIPages method and having multiple columns under header.
In fact I would like to add also a logo picture under header.
Something like:
[HEADER HERE]
Quotation [Some logo here] My company name
No. QUO-10 / 04.03.2018 Street name, No. 3
Customer: Microsoft Country
____________________________________________________________________________
[CONTENT HERE]
| Pos | Description |
| 1 | Product description with multiple rows |
| 2 | Product description with multiple rows |
____________________________________________________________________________
[FOOTER HERE]
Software name page 1/2
With TPdfDocumentGDI it's easy to arrange the text on canvas, but with this method I had difficulties with calculation of pagination.
Please some suggestions.
Offline
You can use the OnStartPageHeader and OnEndPageHeader events to add your own content to the header.
Those events are triggered before and after the TGDIPages.DoHeaderFooterInternal method, which draws the default header information.
Offline
Thanks Arnaud! Works perfect!
Offline
Pages: 1