OutputDocument.SetWindowPosition

Prototypes

void SetWindowPosition( double dLeft, double dTop <, double dWidth, double dHeight> )

Parameters

double dLeft
The position of the left edge of the LISTING output document window as a percentage of the width of IML Studio's main window. A value of 0 positions the left edge of the window at the left edge of IML Studio's window; a value of 100 positions the left edge of the window at the right edge of IML Studio's window.

double dTop
The position of the top edge of the LISTING output document window as a percentage of the height of IML Studio's main window. A value of 0 positions the top edge of the window at the top edge of IML Studio's window; a value of 100 positions the top edge of the window at the bottom edge of IML Studio's window.

double dWidth
The width of the LISTING output document window as a percentage of the width of IML Studio's main window. This parameter must be in the range [0, 100]. If you do not specify this parameter, the width of the LISTING output document window is not changed.

double dHeight
The height of the LISTING output document window as a percentage of the height of IML Studio's main window. This parameter must be in the range [0, 100]. If you do not specify this parameter, the height of the LISTING output document window is not changed.

Remarks

This method positions the LISTING output document window within IML Studio's main window.

If you position a LISTING output document window behind another window (for example, behind the program window), you may want to use the method OutputDocument.ActivateWindow to bring the LISTING output document window to the foreground.

Example
OutputDocument.GetDefault().SetWindowPosition( 50, 50, 50, 50 );

x = ranuni( T(1:5) );
print x;
See Also

OutputDocument.ActivateWindow
OutputDocument.ShowWindow