Carbon


PMNewPageFormat

Header: PMCore.h Carbon status: Supported

Creates a new PMPageFormat object.

OSStatus PMNewPageFormat (
    PMPageFormat *pageFormat
);
Parameter descriptions
pageFormat

On return, a initialized PMPageFormat object.

function result

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

DISCUSSION

PMNewPageFormat allocates memory for a new PMPageFormat object in your application’s memory space. The new page format object is empty until you set its values, or until you call PMDefaultPageFormat or PMValidatePageFormat.

PMCreatePageFormat is recommended instead of PMNewPageFormat.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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