Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnUnitConverter Class : ConvertFromPixels Method |
'Declaration
Public Shared Function ConvertFromPixels( _ ByVal value As Double, _ ByVal destinationUnit As AnnUnit, _ ByVal dpi As Double _ ) As Double
+(double) convertFromPixels:(double) value destinationUnit:(LTAnnUnit) destinationUnit dpi:(double) dpi;
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.