Carbon


PMResolution

Header: PMDefinitions.h

Contains printing resolution information.

struct PMResolution {
    double hRes; 
    double vRes;
};

Field descriptions

hRes

The horizontal resolution in dots per inch (dpi).

vRes

The vertical resolution in dots per inch (dpi).

The functions PMGetResolution and PMGetPrinterResolution supply the fields of this structure with printing resolution information, and your application can pass this information to the function PMSetResolution.


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