## Uses of Class
com.mapinfo.midev.unit.PaperUnit

Packages that use PaperUnit
com.mapinfo.midev.style
com.mapinfo.midev.unit: Units of measure and scalar quantities.

### Uses of PaperUnit in com.mapinfo.midev.style

Methods in com.mapinfo.midev.style that return PaperUnit
`PaperUnit` Dash.`getUnit()` Returns the unit used for dash offset, dash length and dash gap length.

Constructors in com.mapinfo.midev.style with parameters of type PaperUnit
Constructor and Description
`Dash(float[] dashes, PaperUnit unit)` Creates a `Dash` object with the specified dash pattern and units.
`Dash(float[] dashes, PaperUnit unit, float dashOffset)` Creates a `Dash` object with the specified dash pattern, units and offset.

### Uses of PaperUnit in com.mapinfo.midev.unit

Fields in com.mapinfo.midev.unit declared as PaperUnit
`static PaperUnit` PaperUnit.`CENTIMETER` Unit representing centimeter.
`static PaperUnit` PaperUnit.`INCH` Unit representing inch.
`static PaperUnit` PaperUnit.`METER` Unit representing meter.
`static PaperUnit` PaperUnit.`MILLIMETER` Unit representing millimeter.
`static PaperUnit` PaperUnit.`PICA` Unit representing pica.
`static PaperUnit` PaperUnit.`PIXEL` Unit representing pixel.
`static PaperUnit` PaperUnit.`POINT` Unit representing point.
`static PaperUnit` PaperUnit.`TWIP` Unit representing twip.

Methods in com.mapinfo.midev.unit that return PaperUnit
`PaperUnit` PaperLength.`getUnit()` Returns the unit of measure for this length.
`static PaperUnit` PaperUnit.`valueOf(String name)`
`static PaperUnit[]` PaperUnit.`values()`

Methods in com.mapinfo.midev.unit with parameters of type PaperUnit
`static double` PaperUnit.`calculateConversionFactor(PaperUnit fromUnit, PaperUnit toUnit, Integer dotsPerInch)` Returns the conversion factor used toUnit convert something in the specified fromUnit PaperUnit toUnit the specified toUnit PaperUnit.
`static double` PaperUnit.`convert(double length, PaperUnit fromUnit, PaperUnit toUnit, Integer dotsPerInch)` Returns the conversion of the specified length in the specified PaperUnit to the specified PaperUnit.
`double` PaperLength.`getValue(PaperUnit unit, Integer dotsPerInch)` Return the length in the requested unit, converting if necessary.

Constructors in com.mapinfo.midev.unit with parameters of type PaperUnit
Constructor and Description
`PaperLength(double value, PaperUnit unit)` Create a paper length given a scalar value and a unit of measure.