Leadtools.Forms Namespace > LogicalUnitConverter Class : ConvertFromPixels Method |
public static double ConvertFromPixels( double sourceValue, double sourceDpi, LogicalUnit destinationUnit )
'Declaration Public Shared Function ConvertFromPixels( _ ByVal sourceValue As Double, _ ByVal sourceDpi As Double, _ ByVal destinationUnit As LogicalUnit _ ) As Double
'Usage Dim sourceValue As Double Dim sourceDpi As Double Dim destinationUnit As LogicalUnit Dim value As Double value = LogicalUnitConverter.ConvertFromPixels(sourceValue, sourceDpi, destinationUnit)
public static double ConvertFromPixels( double sourceValue, double sourceDpi, LogicalUnit destinationUnit )
function Leadtools.Forms.LogicalUnitConverter.ConvertFromPixels( sourceValue , sourceDpi , destinationUnit )
public: static double ConvertFromPixels( double sourceValue, double sourceDpi, LogicalUnit destinationUnit )
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