A class for PrintResolution, inheriting from IPrintResolution. More...
#include <PrintResolution.h>
Instance Methods | |
(instancetype) | - initWithDotsPerUnit:unit: |
Define the printer resolution in dots per inch or dots per mm. | |
Additional Inherited Members | |
![]() | |
float | dotsPerInch |
Dots per Inch (DPI) print resolution. | |
float | dotsPerMM |
Dots per millimeter (DPMM) print resolution. | |
A class for PrintResolution, inheriting from IPrintResolution.
This class defines the print resolution for printers, allowing setting in dots per inch (DPI) or dots per millimeter (DPMM).
- (instancetype) initWithDotsPerUnit: | (float) | dotsPerUnit | |
unit: | (ScaleEnum) | unit |
Define the printer resolution in dots per inch or dots per mm.
dotsPerUnit | The number of dots per unit (inch or mm). |
unit | The unit of measurement for resolution, either DPI or DPMM. |