Leadtools.Forms Namespace > LogicalUnitConverter Class : Convert Method |
public static double Convert( double sourceValue, LogicalUnit sourceUnit, double sourceDpi, LogicalUnit destinationUnit, double destinationDpi )
'Declaration Public Shared Function Convert( _ ByVal sourceValue As Double, _ ByVal sourceUnit As LogicalUnit, _ ByVal sourceDpi As Double, _ ByVal destinationUnit As LogicalUnit, _ ByVal destinationDpi As Double _ ) As Double
'Usage Dim sourceValue As Double Dim sourceUnit As LogicalUnit Dim sourceDpi As Double Dim destinationUnit As LogicalUnit Dim destinationDpi As Double Dim value As Double value = LogicalUnitConverter.Convert(sourceValue, sourceUnit, sourceDpi, destinationUnit, destinationDpi)
public: static double Convert( double sourceValue, LogicalUnit sourceUnit, double sourceDpi, LogicalUnit destinationUnit, double destinationDpi )