PageSetOrientation sets the page orientation to portrait or landscape.
Return Value
If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).
Parameters
Identifies the page.
If nOrientation equals 1, the document will be displayed in portrait orientation. If nOrientation equals 2, the document will be displayed in landscape orientation.
See also
id-668071