![]() |
PMGetAdjustedPageRect |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Obtains the page size, taking into account orientation, application drawing resolution, and scaling settings.
OSStatus PMGetAdjustedPageRect ( PMPageFormat pageFormat, PMRect *pageRect );
A PMPageFormat object.
On return, a rectangle describing the current page size, in points, taking into account scaling, rotation, and resolution settings.
A result code. A result code. See
Before using this function you must call PMSessionValidatePageFormat or PMValidatePageFormat to ensure that the page format object is valid.
Valid within a printing session after creating a page format object.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)