Carbon


PMValidatePageFormat

Header: PMCore.h Carbon status: Supported

Obtains a valid PMPageFormat object.

OSStatus PMValidatePageFormat (
    PMPageFormat pageFormat, 
    Boolean *result
);
Parameter descriptions
pageFormat

A PMPageFormat object to be validated.

result

Returns true if any parameters were changed, false if no changes were required.

function result

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

DISCUSSION

PMSessionValidatePageFormat is recommended instead of PMValidatePageFormat.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin and creating a page format object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.

CARBON NOTES

The PMValidatePrintSettings and PMValidatePageFormat functions replace the Printing Manager function PrValidate.


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