![]() |
PMSetResolution |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Sets the application drawing resolution.
OSStatus PMSetResolution ( PMPageFormat pageFormat, const PMResolution *res );
A PMPageFormat object.
The desired application drawing resolution.
A result code. A result code. See
Before setting your application drawing resolution, you should determine the valid drawing resolutions supported by the current printer, using PMPrinterGetPrinterResolutionCount, PMPrinterGetPrinterResolution and PMPrinterGetIndexedPrinterResolution.
Valid within a printing session after creating a page format object.
Supported in Carbon. Available in Carbon 1.0.2 and later.
This function replaces the Printing Manager opcode getRslDataOp and allows you to change information formerly stored in the iVRes and iHRes fields of the Printing Manager structure TPrInfo.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)