Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Difference of Report.Device and Report.DeviceType

edited February 2016 in General
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!

Comments

  • edited February 2016
    report.device = 1 means dvscreen
    Carsten Eider formulierte Mittwoch :

    --


    Hint: We altered the sources!Hint: We altered the sources!
  • edited February 2016
    Hi Carsten,

    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.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.