API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.FromUnits method
Converts a given value from the current document units into the given units
Syntax:
Function FromUnits(ByVal Value As Double, ByVal ToUnit As cdrUnit) As Double
Parameters:
Name Type Description
Value
Double
ToUnit
Remarks:
The FromUnits method converts a given value from the current document units into the given units.