RemoteDesktopClient.OnRemoteDesktopSizeChanged event
[OnRemoteDesktopSizeChanged is no longer available for use as of Windows 10 and Windows Server 2016 Technical Preview.]
Called when the remote desktop size has changed.
Syntax
function handler(width, height) { /* Your code */ }
// attachEvent syntax
remoteDesktopClient.attachEvent("onremotedesktopsizechanged", handler);
remoteDesktopClient.detachEvent("onremotedesktopsizechanged", handler);
Event handler parameters
width
Type: NumberSpecifies the new width of the remote desktop, in pixels.
height
Type: NumberSpecifies the new height of the remote desktop, in pixels.
Requirements
Minimum supported client |
Windows 8 [Windows Store apps only] |
Minimum supported server |
Windows Server 2012 [Windows Store apps only] |
End of client support |
Windows 8.1 |
End of server support |
Windows Server 2012 R2 |