![]() |
PMGetResolution |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Obtains the current application drawing resolution.
OSStatus PMGetResolution ( PMPageFormat pageFormat, PMResolution *res );
A PMPageFormat object.
On return, the application drawing resolution.
A result code. A result code. See
Before using this function you must call PMSessionValidatePageFormat or PMValidatePageFormat to ensure that the page format object is valid.
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 access to information formerly stored in the iVRes and iHRes fields of the Printing Manager structure TPrInfo.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)