I've got some questions:
- How can I place a picture right bound?
Like I want the picture to be placed at PageWidth - PictureWidth. I tried following:
- Code: Select all
HsReport.Picture (HsReport.nRightMargin - tmpBmp.Width, 150,
VFREE, VFREE,
FClientImageFile, PIC_KEEPIMAGE or PIC_IN_FILE);
But the picture is not where I want it to be. Its over the border of the paper. I can understand that this is because the measurements of the paper are in cm / inches and the picture width is in pixels. How can I fix this? Just use any "Pixels to Cm"-conversion routine I can find?
- How can I create Header / Footer text?
We want to have some client informations and company logo in the header and some text and page numbers (x of y) in the footer. How can I realize this?