UtilDisplayRotateDisplay Method

Rotates the display orientation of the specified Screen.

Definition

Namespace: DevCase.Core.IO.Devices.Display
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static DisplaySettingsChange RotateDisplay(
	Screen scr,
	DeviceModeDisplayOrientation orientation
)

Parameters

scr  Screen
The source Screen.
orientation  DeviceModeDisplayOrientation
The new display orientation.

Return Value

DisplaySettingsChange
If the function succeeds, the return value is Successful.

If the function succeeds but the computer needs to be restarted, the return value is Restart.

If the function fails, the return value could be Failed, BadDualView or BadMode, BadFlags or BadParam.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also