![]() |
PMSetOrientation |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Sets the page orientation for printing.
OSStatus PMSetOrientation ( PMPageFormat pageFormat, PMOrientation orientation, Boolean lock );
A PMPageFormat object.
The desired orientation setting. See
Pass true to prevent the user from changing the orientation. Locking is supported only on Mac OS X.
A result code. A result code. See
Valid within a printing session after creating a page format object.
Supported in Carbon. Available in Carbon 1.0.2 and later.
The PMSetOrientation function replaces the Printing Manager opcode getRotnOp, and sets information formerly stored in the lower byte of the wDev field of the Printing Manager structure TPrStl.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)