Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

79a77a55 4846 b32e 936d 8d5e9be107b4

haplokuon edited this page May 6, 2023 · 1 revision

ConversionFactor(DrawingUnits, DrawingUnits) Method

netDxf 3.0.0 Library

Gets the conversion factor between drawing units.

Definition

Namespace: netDxf.Units
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static double ConversionFactor(
	DrawingUnits from,
	DrawingUnits to
)

VB

Public Shared Function ConversionFactor ( 
	from As DrawingUnits,
	to As DrawingUnits
) As Double

C++

public:
static double ConversionFactor(
	DrawingUnits from, 
	DrawingUnits to
)

F#

static member ConversionFactor : 
        from : DrawingUnits * 
        to : DrawingUnits -> float 

Parameters

  DrawingUnits
Original drawing units.
  DrawingUnits
Destination drawing units.

Return Value

Double
The conversion factor between the drawing units.

See Also

Reference

UnitHelper Class
ConversionFactor Overload
netDxf.Units Namespace

Clone this wiki locally