How to Get the Display Info of a Device


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 -


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

That’s it!


Visit us at:


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



Please sign in to leave a comment.