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 )
function Leadtools.Forms.LogicalUnitConverter.Convert( sourceValue , sourceUnit , sourceDpi , destinationUnit , destinationDpi )
public: static double Convert( double sourceValue, LogicalUnit sourceUnit, double sourceDpi, LogicalUnit destinationUnit, double destinationDpi )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2