Carbon


PMUnflattenPageFormat

Header: PMCore.h Carbon status: Supported

Rebuilds a flattened PMPageFormat object.

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

A handle to a previously flattened PMPageFormat object.

pageFormat

A pointer to the address where the newly created PMPageFormat object should be stored. On return, this object contains the data retrieved from the flattened page format.

function result

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

DISCUSSION

The PMUnflattenPageFormat function creates a new PMPageFormat object containing the information from the flattened page format. You are responsible for disposing of the handle to the flattened page format.

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)