Converts a value measured in one device-independent unit to another one.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Shared Function ConvertUnitsToUnits ( _ resolution As Single, _ sourceValue As Single, _ sourceUnit As Unit, _ destinationUnit As Unit _ ) As Single
public static float ConvertUnitsToUnits( float resolution, float sourceValue, Unit sourceUnit, Unit destinationUnit )
Type: System.Single
A resolution in DPI.Type: System.Single
A value measured in sourceUnit which should be converted to destinationUnit.