Converts a value measured in specified device-independent unit to pixels.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public static int ConvertUnitsToPixels( float resolution, float sourceValue, Unit sourceUnit )
Type: System.Single
A resolution in DPI used to convert sourceUnit to pixels.Type: System.Single
A value measured in sourceUnit which should be converted to pixels.