Carbon


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
);
Parameter descriptions
pageFormat

A PMPageFormat object.

paperRect

On return, a rectangle describing the physical size of the paper, in points.

function result

A result code. A result code. See “Result Codes”.

SPECIAL CONSIDERATIONS

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.

VERSION NOTES

In CarbonLib 1.0 this function was named PMGetPhysicalPaperSize. You can still use PMGetPhysicalPaperSize, but the recommended name is PMGetUnadjustedPaperRect.

AVAILABILITY

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)