Carbon


PMSetScale

Header: PMCore.h Carbon status: Supported

Sets the scaling factor for the page and paper rectangles.

OSStatus PMSetScale (
    PMPageFormat pageFormat, 
    double scale
);
Parameter descriptions
pageFormat

A PMPageFormat object.

scale

The desired scaling factor expressed as a percentage. For example, for 50 percent scaling, pass a value of 50; for no scaling, pass 100.

function result

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

DISCUSSION

Use PMSetScale to change the scaling factor that will appear when your application invokes the Page Setup dialog box.

SPECIAL CONSIDERATIONS

Valid within a printing session after creating a page format object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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