Click or drag to resize

UnitHelperConversionFactor Method (DrawingUnits, ImageUnits)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the conversion factor between units.

Namespace:  netDxf.Units
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public static double ConversionFactor(
	DrawingUnits from,
	ImageUnits to
)
Request Example View Source

Parameters

from
Type: netDxf.UnitsDrawingUnits
Original value units.
to
Type: netDxf.UnitsImageUnits
Destination value units.

Return Value

Type: Double
The conversion factor between the passed units.
See Also