Carbon


PMFlattenPageFormat

Header: PMCore.h Carbon status: Supported

Flattens a PMPageFormat object for storage in a user document.

OSStatus PMFlattenPageFormat (
    PMPageFormat pageFormat, 
    Handle *flatFormat
);
Parameter descriptions
pageFormat

A PMPageFormat object.

flatFormat

On return, a handle to a flattened PMPageFormat object.

function result

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

DISCUSSION

You are responsible for disposing of the handle to the flattened page format object.

SPECIAL CONSIDERATIONS

Unlike most Carbon Printing Manager functions, you may call this function outside of a printing session or PMBegin/PMEnd block.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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