Carbon


PMSetPhysicalPaperSize

Header: PMCore.h Carbon status: Supported

Requests a particular paper size, unaffected by rotation, resolution or scaling.

OSStatus PMSetPhysicalPaperSize (
    PMPageFormat pageFormat, 
    const PMRect *paperSize
);
Parameter descriptions
pageFormat

The PMPageFormat which will hold the new physical paper size.

paperSize

The desired paper size expressed as a PMRect. (units are 1/72 inch. A PMRect is a rectangle whose individual components are doubles.)

function result

A result code.

DISCUSSION

You should instead use PMSetUnadjustedPaperRect.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)