![]() |
PMGetPhysicalPaperSize |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Obtains the size of the paper in points, unaffected by rotation, resolution, or scaling.
OSStatus PMGetPhysicalPaperSize ( PMPageFormat pageFormat, PMRect *paperSize );
A PMPageFormat object previously created by your application.
On return, a rectangle describing the physical size of the paper. Units are in 1/72 inch. Thus a 8.5 x 11 sheet of paper returns for its individual components:
top - 0.0
left - 0.0
bottom - 792.0
right - 612.0
A result code.
You should instead use PMGetUnadjustedPaperRect.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)