Foundation > Printing in Rogue Wave Views > The IlvPrintUnit Class
 
The IlvPrintUnit Class
The IlvPrintUnit class allows you to describe a dimensional unit. Units of various types can be converted.
Four commonly used units have been defined:
*IlvPrintPointUnit represents units in centimeters. This is the reference unit.
*IlvPrintCMUnit represents units in centimeters.
*IlvPrintInchUnit represents units in inches.
*IlvPrintPicaUnit represents units in centimeters.
This class is mainly useful when using IlvPSPrinter.
Converting units:
IlvPrintCMUnit oneMeter(100.0);
IlvPrintInchUnit oneMeterInInches(oneMeter);
IlvDim result = oneMeterInInches.getUnits();

Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.