UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
PrintResolution Class Reference

A class for PrintResolution, inheriting from IPrintResolution. More...

#include <PrintResolution.h>

Inheritance diagram for PrintResolution:
<IPrintResolution>

Instance Methods

(instancetype) - initWithDotsPerUnit:unit:
 Define the printer resolution in dots per inch or dots per mm.
 

Additional Inherited Members

- Properties inherited from <IPrintResolution>
float dotsPerInch
 Dots per Inch (DPI) print resolution.
 
float dotsPerMM
 Dots per millimeter (DPMM) print resolution.
 

Detailed Description

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).

Method Documentation

◆ initWithDotsPerUnit:unit:

- (instancetype) initWithDotsPerUnit: (float) dotsPerUnit
unit: (ScaleEnum) unit 

Define the printer resolution in dots per inch or dots per mm.

Parameters
dotsPerUnitThe number of dots per unit (inch or mm).
unitThe unit of measurement for resolution, either DPI or DPMM.
Returns
An initialized instance of PrintResolution.

The documentation for this class was generated from the following file: