DisplayResolution Class

Definition

Contains information regarding a monitor's display resolution.

public class DisplayResolution
type DisplayResolution = class
Inheritance
DisplayResolution

Properties

BitsPerPixel

Gets a System.Int32 that contains number of bits per pixel of this display. Typical values include 8, 16, 24 and 32.

Bounds
Obsolete.

Gets a System.Drawing.Rectangle that contains the bounds of this display device.

Height

Gets a System.Int32 that contains the height of this display in pixels.

RefreshRate

Gets a System.Single representing the vertical refresh rate of this display.

Width

Gets a System.Int32 that contains the width of this display in pixels.

Methods

Equals(Object)

Determines whether the specified resolutions are equal.

GetHashCode()

Returns a unique hash representing this resolution.

ToString()

Returns a System.String representing this DisplayResolution.

Operators

Equality(DisplayResolution, DisplayResolution)
Inequality(DisplayResolution, DisplayResolution)

Applies to