Carbon


PMGetUnadjustedPageRect

Header: PMCore.h Carbon status: Under Evaluation

Obtains the size of the imageable area in points, unaffected by rotation, resolution, or scaling.

OSStatus PMGetUnadjustedPageRect (
    PMPageFormat pageFormat, 
    PMRect *pageRect
);
Parameter descriptions
pageFormat

A PMPageFormat object.

pageRect

On return, the page drawing rectangle, 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 PMGetPhysicalPageSize. You can still use PMGetPhysicalPageSize but the recommended name is PMGetUnadjustedPageRect.

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)