Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType.BarCode Namespace / BarCodeHelper Class / ConvertMilliMetric Method
Value in another unit of measure
Resolution in dpi (dots per inch)


In This Topic
    ConvertMilliMetric Method
    In This Topic
    Converts the value in another unit to an equivalent value in metric (millimeters).
    Syntax
    'Declaration
     
    
    Public Shared Function ConvertMilliMetric( _
       ByVal val As String, _
       ByVal dpi As Integer _
    ) As Integer
    'Usage
     
    
    Dim val As String
    Dim dpi As Integer
    Dim value As Integer
     
    value = BarCodeHelper.ConvertMilliMetric(val, dpi)
    public static int ConvertMilliMetric( 
       string val,
       int dpi
    )

    Parameters

    val
    Value in another unit of measure
    dpi
    Resolution in dpi (dots per inch)
    See Also