PageScript 32 - User guide for [x]Harbour and Xbase++ - Version 3.0.3
These functions are either unsupported or became obsolete in this version of PageScript 32 for xbase like programming languages.
Function PSSetPWBounds(nLeft, nTop, nWidth, nHeight)
TPageScript:SetPWBounds(nLeft, nTop, nWidth, nHeight)
Call PSSetPWBounds() to set the print preview window position and size at the same time. You may call this only once at program start, but after PSInit() or at anytime before starting a new print job. If you want to set only the position or the size of the print preview window, you may call PSSetPWPosition() or PSSetPWSize(). Passing a negative value to nWidth will center the window horizontally. Passing a negative value to nHeight will center the window vertically. If the Preview Window state is set to PWS_AUTO, the position and size are not taken into account.
|nLeft||Left position of the window expressed in pixels.|
|nTop||Top position of the window expressed in pixels.|
|nWidth||Width of the window expressed in pixels. If set to -1, PageScript tries to center it on the screen.|
|nHeight||Height of the window expressed in pixels. If set to -1, PageScript tries to center it on the screen. The Windows Taskbar height is taken into account.|