Carbon


PMCopyPageFormat

Header: PMCore.h Carbon status: Supported

Copies the settings from one PMPageFormat object into another.

OSStatus PMCopyPageFormat (
    PMPageFormat formatSrc, 
    PMPageFormat formatDest
);
Parameter descriptions
formatSrc

A PMPageFormat object to be duplicated.

formatDest

On return, a PMPageFormat object containing the same settings as the formatSrc object.

function result

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

DISCUSSION

You must create both page format objects before calling this function.

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)