Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

msUnlockOrientation method

Disables the current orientation lock applied to the screen.

IE11

 

Syntax

var retval = Screen.msUnlockOrientation();

Parameters

This method has no parameters.

Return value

Type: HRESULT

This method can return one of these values.

S_OK

Standards information

Remarks

When the screen orientation is unlocked, the page will return (if applicable) to its appropriate orientation and fire a corresponding onmsorientationchange event.

See also

Screen
msLockOrientation

 

 

Show:
© 2015 Microsoft