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

f46a237f e064 2342 89e6 cc33b8f025f5

haplokuon edited this page May 6, 2023 · 1 revision

ConversionFactor(ImageUnits, DrawingUnits) Method

netDxf 3.0.0 Library

Gets the conversion factor between image and drawing units.

Definition

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

C#

public static double ConversionFactor(
	ImageUnits from,
	DrawingUnits to
)

VB

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

C++

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

F#

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

Parameters

  ImageUnits
Original image units.
  DrawingUnits
Destination drawing units.

Return Value

Double
The conversion factor between the units.

See Also

Reference

UnitHelper Class
ConversionFactor Overload
netDxf.Units Namespace

Clone this wiki locally