PSSetPWPosition()

Syntax

Function PSSetPWPosition(nLeft, nTop)
TPageScript:SetPWPosition(nLeft, nTop)

Returns

NIL

Description

Call PSSetPWPosition() to set the print preview window position. You may call this only once at program start, but after PSInit() or at anytime before starting a new print job.

Arguments

nLeft Left position of the window expressed in pixels.
nTop Top position of the window expressed in pixels.

See also

PSSetPWBounds()
PSSetPWColors()
PSSetPWSize()
PSSetPWState()
PSSetPWZoomLevel()