![]() |
PMGetUnadjustedPaperRect |
||||
Header: | PMCore.h | Carbon status: | Under Evaluation | |
Obtains the size of the paper in points, unaffected by rotation, resolution, or scaling.
OSStatus PMGetUnadjustedPaperRect ( PMPageFormat pageFormat, PMRect *paperRect );
A PMPageFormat object.
On return, a rectangle describing the physical size of the paper, in points.
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.
In CarbonLib 1.0 this function was named PMGetPhysicalPaperSize. You can still use PMGetPhysicalPaperSize, but the recommended name is PMGetUnadjustedPaperRect.
Under evaluation for Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)