Share via


HorizontalResolution Property

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

expression.HorizontalResolution()

*expression   * Required. An expression that returns a System object.

Example

The following example returns the horizontal resolution of the screen.

myHoriz = System.HorizontalResolution

Applies to | System Object