![]() |
PMGetAdjustedPaperRect |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Obtains the paper size, taking into account orientation, application drawing resolution, and scaling settings.
OSStatus PMGetAdjustedPaperRect ( PMPageFormat pageFormat, PMRect *paperRect );
A PMPageFormat object.
On return, a rectangle describing the current paper size, in points, taking into account scaling, rotation and resolution settings.
A result code. A result code. See
PMRect is a rectangle whose components are doubles. Units are in the applications drawing resolution.
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)