Archive background
Hi
I have raf files of printed reports stored in the database. I have a
custom form that views/prints these archive files.
What I need is a background image like a watermark for some of these
reports. But this image is not avaliable when the archive is generated
(and never will be). One of then is a large red CANCELLED sign placed
diagonally etc.
Any ideas?
D7, RB9 (I can/will upgrade to RB10 if that makes any difference)
Best regards
Bora Aydemir
I have raf files of printed reports stored in the database. I have a
custom form that views/prints these archive files.
What I need is a background image like a watermark for some of these
reports. But this image is not avaliable when the archive is generated
(and never will be). One of then is a large red CANCELLED sign placed
diagonally etc.
Any ideas?
D7, RB9 (I can/will upgrade to RB10 if that makes any difference)
Best regards
Bora Aydemir
This discussion has been closed.
Comments
This can be done by manually adding a drawcommand to each page before it is
sent to the device. Take a look at the following example of creating a
unique caption for each copy of an archive file. It uses the
PrinterDevice.ReceivePage event to add the drawcommand.
http://www.digital-metaphors.com/tips/UniqueCaptionArchive.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
It works when printing, but I couldn't get it to work when rendering to
screen. Does it use a different event?
bora
also implement the ScreenDevice.ReceivePage event to see the effects on
screen.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com