This repository was archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 437
d3a0c149 1e71 f019 63bf 82c156d8c774
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Converts a value from one drawing unit to another.
Namespace: netDxf.Units
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static double ConvertUnit(
double value,
DrawingUnits from,
DrawingUnits to
)VB
Public Shared Function ConvertUnit (
value As Double,
from As DrawingUnits,
to As DrawingUnits
) As DoubleC++
public:
static double ConvertUnit(
double value,
DrawingUnits from,
DrawingUnits to
)F#
static member ConvertUnit :
value : float *
from : DrawingUnits *
to : DrawingUnits -> float - Double
- Number to convert.
- DrawingUnits
- Original drawing units.
- DrawingUnits
- Destination drawing units.
Double
The converted value to the new drawing units.