API Documentation > CorelDRAW > 2025-v26 > Application > IVGApplication
Application.ConvertUnits method
Converts a measurement from one unit to another
Syntax:
Function ConvertUnits(ByVal Value As Double, ByVal FromUnit As cdrUnit, ByVal ToUnit As cdrUnit) As Double
Parameters:
Name Type Description
Value
Double
FromUnit
ToUnit
Remarks:
The ConvertUnits method converts a measurement from one unit to another.