display image in preview but nothing when printing
how can i tell whether the report is actually being printed or simply being
viewed on screen?
I want to show an image on a report preview the people can click on to view
a detailed report but when actually printing I want to hide this so it is
not printed on the paper report. I can basically set the image visible on
or off to hide or show it but which event is the best to distinguish whether
it is on screen or printing ( including from the screen preview)?
viewed on screen?
I want to show an image on a report preview the people can click on to view
a detailed report but when actually printing I want to hide this so it is
not printed on the paper report. I can basically set the image visible on
or off to hide or show it but which event is the best to distinguish whether
it is on screen or printing ( including from the screen preview)?
This discussion has been closed.
Comments
Try using the Report.BeforePrint to check the device used. For instance, if
you require your users to use our print dialog before they print to paper,
you could check the Report.PrintDialog.DeviceType property. If this is
"Printer" then you can set the visibility of the image to False.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com