![]() |
PMOrientation |
Header: PMDefinitions.h |
Defines values for page orientation.
enum PMOrientation { kPMPortrait = 1, kPMLandscape = 2, kPMReversePortrait = 3, kPMReverseLandscape = 4 };
Specifies portrait (vertical) page orientation. Portrait orientation performs no alteration of the logical page.
Specifies landscape (horizontal) page orientation. Landscape orientation performs a 90° clockwise rotation on the logical page rectangle and sets the origin to the lower left corner of the unrotated logical page. This has the effect of rotating the logical page image 90° counterclockwise.
Specifies reverse portrait page orientation for drivers that support this option. Drivers that do not support reverse portrait orientation will print in portrait mode. Reverse portrait orientation performs a 180° rotation on the logical page rectangle and sets the origin to the lower right corner of the unrotated logical page. This has the effect of rotating the logical page image 180°.
Reverse portrait orientation is seldom used and therefore not supported in the Page Setup dialog box. Although you may specify reverse portrait orientation for a document, you should be aware that the orientation will be changed to portrait (by default) or the users selected orientation if your application displays the Page Setup dialog box and the user accepts the settings.
Specifies reverse landscape page orientation for drivers that support this option. Drivers that do not support reverse landscape orientation will print in landscape mode. Reverse landscape orientation performs a 90° counterclockwise rotation on the logical page image and sets the origin to the upper right corner of the unrotated logical page. This has the effect of rotating the logical page image 90° clockwise.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)