PaperSettings.toUnit Method

Converts all values from the current unit to the specified unit.
 

Parameters

unit

Type: PaperUnit
The unit to convert values to.