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

fe1a9193 b096 7d9f 1208 51ae209d6d39

haplokuon edited this page May 6, 2023 · 1 revision

UnitHelper Class

netDxf 3.0.0 Library

Helper methods for unit conversion.

Definition

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

C#

public static class UnitHelper

VB

Public NotInheritable Class UnitHelper

C++

public ref class UnitHelper abstract sealed

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
type UnitHelper = class end
Inheritance Object → UnitHelper

Methods

ConversionFactor(DrawingUnits, DrawingUnits) Gets the conversion factor between drawing units.
ConversionFactor(DrawingUnits, ImageUnits) Gets the conversion factor between units.
ConversionFactor(ImageUnits, DrawingUnits) Gets the conversion factor between image and drawing units.
ConvertUnit Converts a value from one drawing unit to another.

See Also

Reference

netDxf.Units Namespace

Clone this wiki locally