How to Get the display info of a device

Overview

In some cases you might want to know the display info about the device on which the interview runs.

For example if you have several pictures sizes of the same picture and would like to display the one which best fits the screen on which the interview runs.

 

For this purpose we have the DisplayInfo property

The DisplayInfo has three data member which you can use in you script:

  • WidthPixels
  • HeightPixels
  • DiagonalInches

 

For example you can try to enter this script in one of your questions -

Prompt(DisplayInfo.WidthPixels)

And see what popup message you'll get when you'll run it on the tablet!


That’s it!

 

Visit us at:  http://www.dooblo.net

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.