'Declaration
Public Shared Function ConvertUnit( _ ByVal val As Double, _ ByVal unit As Unit, _ ByVal dpi As Integer _ ) As String
'Usage
Dim val As Double Dim unit As Unit Dim dpi As Integer Dim value As String value = BarCodeHelper.ConvertUnit(val, unit, dpi)
Parameters
- val
- Value in millimeters
- unit
- New unit of measure
- dpi
- Resolution in dpi (dots per inch)