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 : ConvertToPixels Method |
'Declaration
Public Shared Function ConvertToPixels( _ ByVal value As Double, _ ByVal sourceUnit As AnnUnit, _ ByVal dpi As Double _ ) As Double
+(double) convertToPixels:(double) value sourceUnit:(LTAnnUnit) sourceUnit dpi:(double) dpi;
public static double convertToPixels( double value, AnnUnit sourceUnit, double dpi )
function Leadtools.Annotations.Core.AnnUnitConverter.ConvertToPixels( value , sourceUnit , dpi )
Use this method to convert a value from any unit to pixels. For pixels conversions, a DPI (dots per inch) value is required.