
ControlRotationKey
Sets or acquires the screen rotation control key.
■ Syntax
[VB]
Public Shared Property ControlRotationKey As Integer
[C#]
public static int ControlRotationKey {get; set;}
■ Property
Rotation control key (See table below)
Parameter values
: See table below.
Default value
: -1 (none)
■ Exceptions
Name of Exception Meaning
ArgumentException The specified parameter value(s) is invalid.
■ Note
The relationship between control keys and settings is as follows.
Rotation Control Key Setting Rotation Control Key Setting
[M1] 0x00000201 [SF] + [M1] 0x00010201
[M2] 0x00000202 [SF] + [M2] 0x00010202
[M3] 0x00000203 [SF] + [M3] 0x00010203
[Ex.] Set the screen rotation control key to the [M3] key.
[VB] Display.Settings.ControlRotationKey = 0x00000203
[C#] Display.Settings.ControlRotationKey = 0x00000203;
332
Comentarios a estos manuales