Returns the value of the source value, converted to its equivalent in the specified destination unit of measure.
sourceValue
The value that is going to be converted.
sourceUnit
The unit of measurement for the source value.
sourceDpi
Represents the DPI of the source value. This value is only used if the source unit of measure is Leadtools.Forms.LogicalUnit.Pixel.
destinationUnit
The unit of measurement for the destination value.
destinationDpi
Represents the DPI of the destination value. This value is only used if the destination unit of measure is Leadtools.Forms.LogicalUnit.Pixel.
Convert converts a value measured in a unit specified by sourceUnit to any unit that is specified by destinationUnit. The DPI is only needed when Leadtools.Forms.LogicalUnit.Pixel is used define the area that is occupied by one pixel.
For an example, refer to Width.