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

e60bbdce edad 3c17 df9b 32d16faa8dc9

haplokuon edited this page May 6, 2023 · 1 revision

ConversionFactor(DrawingUnits, ImageUnits) Method

netDxf 3.0.0 Library

Gets the conversion factor between units.

Definition

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

C#

public static double ConversionFactor(
	DrawingUnits from,
	ImageUnits to
)

VB

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

C++

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

F#

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

Parameters

  DrawingUnits
Original value units.
  ImageUnits
Destination value units.

Return Value

Double
The conversion factor between the passed units.

See Also

Reference

UnitHelper Class
ConversionFactor Overload
netDxf.Units Namespace

Clone this wiki locally