Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Window Object > Methods

EmEditor Macro Reference: SetPosition Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Window Object

SetPosition Method

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.

Copyright © 2003-2016 by Emurasoft, Inc.