Android Guides | Samples

OpenTK.DisplayDevice.ChangeResolution Method

Changes the resolution of the DisplayDevice.

Syntax

public Void ChangeResolution (DisplayResolution resolution)

Parameters

resolution
The resolution to set. DisplayDevice.SelectResolution(Int32,Int32,Int32,Single)

Exceptions

TypeReason
GraphicsModeExceptionThrown if the requested resolution could not be set.

Remarks

If the specified resolution is null, this function will restore the original DisplayResolution.

Requirements

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