GetDisplayHorizontalResolution
- Last UpdatedOct 29, 2026
- 1 minute read
Gets the horizontal resolution (in pixels) of the display connected to the local station.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetDisplayHorizontalResolution |
System Info |
Synchronous |
Yes |
Supported |
Supported |
Not supported |
Supported |
Not supported |
Syntax
GetDisplayHorizontalResolution ( )
This function takes no parameters.
Returned value
This function returns the horizontal resolution of the display as an integer.
Examples
|
Tag Name |
Expression |
|---|---|
|
GetDisplayHorizontalResolution() // Returned value = 1024 |