PMGetResolution
Obtains the current application’s drawing resolution.
Declaration
OSStatus PMGetResolution (
PMPageFormat pageFormat,
PMResolution *res
);Parameters
- pageFormat:
The page format object whose drawing resolution you want to obtain.
- res:
A pointer to your Pmresolution structure. On return, the structure contains the drawing resolution of the current application.
Return Value
A result code. See Result Codes.
Overview
This function obtains the drawing resolution specified in the page format, not the resolution of the current printer. You can use PMPrinterGetPrinterResolutionCount and PMPrinterGetIndexedPrinterResolution to examine the available printer resolutions.
See Also
Accessing Data in Page Format Objects
PMGetPageFormatExtendedDataPMSetPageFormatExtendedDataPMGetPageFormatPaperPMPageFormatGetPrinterIDPMGetOrientationPMSetOrientationPMSetResolutionPMGetScalePMSetScalePMGetAdjustedPageRectPMSetAdjustedPageRectPMGetAdjustedPaperRectPMGetUnadjustedPageRectPMGetUnadjustedPaperRectPMSetUnadjustedPaperRect