繼承自 IPrintResolution 的 PrintResolution 類。 更多...
#include <PrintResolution.h>
實體方法 | |
| (instancetype) | - initWithDotsPerUnit:unit: |
| 定義每英寸或每毫米的打印機分辨率。 | |
額外的繼承成員 | |
屬性(properties) 繼承自 <IPrintResolution> | |
| float | dotsPerInch |
| 每英寸點數 (DPI) 的打印解析度。 | |
| float | dotsPerMM |
| 每毫米點數 (DPMM) 的打印解析度。 | |
繼承自 IPrintResolution 的 PrintResolution 類。
該類定義了打印機的打印分辨率,允許以每英寸點數 (DPI) 或每毫米點數 (DPMM) 設置。
| - (instancetype) initWithDotsPerUnit: | (float) | dotsPerUnit | |
| unit: | (ScaleEnum) | unit |
定義每英寸或每毫米的打印機分辨率。
| dotsPerUnit | 每單位(英寸或毫米)的點數。 |
| unit | 分辨率的測量單位,可以是每英寸點數 (DPI) 或每毫米點數 (DPMM)。 |