JavaScript
windowObject.setSize Method
Syntax
windowObj.setSize(width,height);
Arguments
- widthstring
The window width expressed using css units. E.G. "200px", "3in", "50%".
- heightstring
The window height expressed using css units. E.G. "200px", "3in", "50%".
Description
Sets the size of the window. Width and height are expressed using css units.
Example
//get a pointer to the window object var windowObj = {dialog.object}.getWindow('MYWINDOW'); if (windowObj) { windowObj.setSize('3in','2in'); }