You are not logged in.
Pages: 1
Hello,
SynPDF is really great !
Thank you
I think it should be very complete with a Background image property.
With alignment: Tile, Top-Left, Top-Center, Top-Right, Center, Center-Left, Center-Right, Bottom-Left, Bottom-Center, Bottom-Right
This background should be related to the whole page.
Just like an HTML page.
Currently, i using eDocEngine and they have this property.
But... if we have this property with SynPDF, i will switch with pleasure.
because SynPDF is really smaller and take less (and by far) overhead in the exe.
Offline
Which kind of image? Bitmap? Vectorial?
You can add it creating a TPdfDocumentGDI instance, then just drawing the bitmap with usual VCL commands on its VCLCanvas property.
But using VCLCanvas will make a copy of the image for every page. Not so good for pdf size.
So it could be better to have this image directly handled in TPdfDocument, therefore an unique TPdfImage loaded and stored once, then using direct Canvas.DrawXObject / Canvas.DrawXObjectEx to draw it on every page background. Tile and Center should be handled at this level.
By my free time is a small resource for me now, like GDI resources in Windows 3.1.
Perhaps you could try to implement it by your own. And I could help you.
If you're several users who would like it to be implemented, please post your feedback here, and I'll code it!
Offline
Hello,
Thank you for your reply
I was talking about normal web images (Gif, Jpg or Png)
and for background, i was talking about background images use in a normal web page.
( like in BODY tag, background="..... " )
I will try your suggestions and be back here with my results
Carl
Offline
Pages: 1