How to know how much mm left in a report ?

You will know how much millimeter left on your report for know if you can print a new section or not ?

Use this method in the report

 element.mm100Left();
Advertisements

Unit convert

Use the table UnitConvert with the method valueConvert() for convert your Quantity :

UnitConvert::valueConvert(qty, fromUnit, ToUnit, itemId);