Carbon


PMCreatePageFormat

Header: PMCore.h Carbon status: Supported

Creates a new PMPageFormat object.

OSStatus PMCreatePageFormat (
    PMPageFormat *pageFormat
);
Parameter descriptions
pageFormat

On return, a initialized PMPageFormat object.

function result

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

DISCUSSION

PMCreatePageFormat 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 PMSessionDefaultPageFormat or PMSessionValidatePageFormat.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.

CARBON NOTES

PMCreatePageFormat combined with PMCreatePrintSettings is equivalent to creating a new Classic Printing Record (TPrint).


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