Difference of Report.Device and Report.DeviceType
Hi,
i am creating watermarks. They only should appear on printers, not on
screen or within a file.
For differing between the destinations i wanted to use
report.device. Unfortunately this is always 1=dvprinter
Investigating on report.devicetype i found different values as
screen,printer oder pdf.
Is this a bug or am i mismatching something?
--
Hint: We altered the sources!Hint: We altered the sources!
i am creating watermarks. They only should appear on printers, not on
screen or within a file.
For differing between the destinations i wanted to use
report.device. Unfortunately this is always 1=dvprinter
Investigating on report.devicetype i found different values as
screen,printer oder pdf.
Is this a bug or am i mismatching something?
--
Hint: We altered the sources!Hint: We altered the sources!
This discussion has been closed.
Comments
Carsten Eider formulierte Mittwoch :
--
Hint: We altered the sources!Hint: We altered the sources!
The Report.Device property was deprecated and support for it was
discontinued in RB 4.0. It is only retained for backward compatibility
with very old reports.
Please only use Report.DeviceType when determining which device is being
utilized.
Both of these properties are fully documented in the ReportBuilder help.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com