# How to get vision client resolution

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-vision-client-resolution/27328>\
**Category:** Ignition\
**Created:** [August 10, 2019, 8:25am UTC](https://forum.inductiveautomation.com/t/how-to-get-vision-client-resolution/27328 "2019-08-10T08:25:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 10, 2019, 12:08pm UTC](https://forum.inductiveautomation.com/t/how-to-get-vision-client-resolution/27328/2 "2019-08-10T12:08:35Z")

</div>

> [@Scripting with the window size](http://forum.inductiveautomation.com/t/scripting-with-the-size/6145/4):
>
> Sorry, couldn’t let this one pass… This one will get screen resolution for you. import java.awt gd=java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice() width = gd.getDisplayMode().getWidth() height = gd.getDisplayMode().getHeight()

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-get-vision-client-resolution/27328)._
