Leadtools.Annotations.Core Namespace > AnnUnitConverter Class : ConvertFromPixels Method |
Public Shared Function ConvertFromPixels( _ ByVal value As Double, _ ByVal destinationUnit As AnnUnit, _ ByVal dpi As Double _ ) As Double
public static double convertFromPixels( double value, AnnUnit destinationUnit, double dpi )
function Leadtools.Annotations.Core.AnnUnitConverter.ConvertFromPixels( value , destinationUnit , dpi )
Use this method to convert a pixels value to any unit. For pixels conversions, a DPI (dots per inch) value is required.