Table of Contents

Method Millimetres

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Millimetres(DxfUnits)

Gets the millimetres in a unit of INSUNITS, as the DXF reference lists them and the reader takes them.

public static double Millimetres(DxfUnits units)

Parameters

units DxfUnits

The unit.

Returns

double

The millimetres in one of it: 25.4 for inches, 1000 for metres; 0 for Undefined or a number the reference does not list.