PSSetOrientation() |
|
Syntax
Function PSSetOrientation(nOrientation)
TPageScript:SetOrientation(nOrientation)
Returns
The previous orientation.
Description
Call PSSetOrientation() to set the document orientation for the next print job. You must set the orientation before calling PSBeginDoc().
Arguments
nOrientation | Any of the following values. |
Constant | Value | Description |
APS_PORTRAIT | 0 | Print in portrait |
APS_LANDSCAPE | 1 | Print in landscape |