HorizontalResolution Property

       

Returns the horizontal resolution of the screen in pixels. Read-only Long.

Example

This example returns the horizontal resolution of the screen.

myHoriz = System.HorizontalResolution