PSGetOrientation() |
|
Syntax
Function PSGetOrientation()
TPageScript:GetOrientation()
Returns
An Integer value.
Description
PSGetOrientation() returns an Integer value representing the current document orientation. Two possible values may be returned :
Constant | Value | Description |
APS_PORTRAIT | 0 | Print in portrait |
APS_LANDSCAPE | 1 | Print in landscape |
If you call this function when not printing, the default value is returned.
Arguments
None