iOS Guides | Samples

OpenTK.DisplayResolution Class

Contains information regarding a monitor's display resolution.

See Also: DisplayResolution

Syntax

public class DisplayResolution

Requirements

Namespace: OpenTK
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0

The members of OpenTK.DisplayResolution are listed below.

See Also: Object

Public Properties

[read-only]
BitsPerPixelInt32. Gets a System.Int32 that contains number of bits per pixel of this display. Typical values include 8, 16, 24 and 32.
[read-only]
BoundsRectangle. Gets a System.Drawing.Rectangle that contains the bounds of this display device.
[read-only]
HeightInt32. Gets a System.Int32 that contains the height of this display in pixels.
[read-only]
RefreshRateSingle. Gets a System.Single representing the vertical refresh rate of this display.
[read-only]
WidthInt32. Gets a System.Int32 that contains the width of this display in pixels.

Public Methods

override
Equals(Object) : Boolean
Determines whether the specified resolutions are equal.
override
GetHashCode() : Int32
Returns a unique hash representing this resolution.
override
ToString() : String
Returns a System.String representing this DisplayResolution.

Public Operators