SetPosition Method (Window Object)

Sets the size and position of the window.

[JavaScript]

wnd.SetPosition( x, y, width, height );

[VBScript]

wnd.SetPosition x, y, width, height

Parameters

x

Specifies the horizontal position of the window, in pixels.

y

Specifies the vertical position of the window, in pixels.

width

Specifies the width of the window, in pixels.

height

Specifies the height of the window, in pixels.

Version

Supported on EmEditor Professional Version 7.00 or later.