继承自 IPrintResolution 的 PrintResolution 类。 更多...
#include <PrintResolution.h>
构造函数 | |
(instancetype) | - initWithDotsPerUnit:unit: |
定义每英寸或每毫米的印表机分辨率。 | |
额外继承的成员函数 | |
![]() | |
float | dotsPerInch |
每英寸点数 (DPI) 的打印分辨率。 | |
float | dotsPerMM |
每毫米点数 (DPMM) 的打印分辨率。 | |
继承自 IPrintResolution 的 PrintResolution 类。
该类定义了印表机的打印分辨率,允许以每英寸点数 (DPI) 或每毫米点数 (DPMM) 设置。
- (instancetype) initWithDotsPerUnit: | (float) | dotsPerUnit | |
unit: | (ScaleEnum) | unit |
定义每英寸或每毫米的印表机分辨率。
dotsPerUnit | 每单位(英寸或毫米)的点数。 |
unit | 分辨率的测量单位,可以是每英寸点数 (DPI) 或每毫米点数 (DPMM)。 |