Enum DxfUnits
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
The unit a DXF file says its drawing is in, the header variable $INSUNITS, numbered as the DXF reference
numbers it: a file DxfWriter writes is in Millimeters, 4. Not DxfUnit, AutoCAD's
Unit, which numbers the resolution of an image's pixels and the unit images are scaled in: a millimetre is 4
here and 1 there.
public enum DxfUnits
Fields
Undefined = 0No unit given, 0, or a number the DXF reference does not list; also a file with no
$INSUNITS.Inches = 1Inches, 1: 25.4 millimetres.
Feet = 2Feet, 2: 304.8 millimetres.
Miles = 3Miles, 3: 1 609 344 millimetres.
Millimeters = 4Millimetres, 4.
Centimeters = 5Centimetres, 5: 10 millimetres.
Meters = 6Metres, 6: 1 000 millimetres.
Kilometers = 7Kilometres, 7: 1 000 000 millimetres.
MicroInches = 8Microinches, 8: 2.54E-5 millimetres.
Mils = 9Mils, thousandths of an inch, 9: 0.0254 millimetres.
Yards = 10Yards, 10: 914.4 millimetres.
Angstroms = 11Angstroms, 11: 1E-7 millimetres.
Nanometers = 12Nanometres, 12: 1E-6 millimetres.
Microns = 13Microns, 13: 0.001 millimetres.
Decimeters = 14Decimetres, 14: 100 millimetres.
Dekameters = 15Decametres, 15: 10 000 millimetres.
Hectometers = 16Hectometres, 16: 100 000 millimetres.
Gigameters = 17Gigametres, 17: 1E12 millimetres.
Astronomical = 18Astronomical units, 18: 1.495978707E14 millimetres.
LightYears = 19Light years, 19: 9.4607304725808E18 millimetres.
Parsecs = 20Parsecs, 20: 3.0856775814913673E19 millimetres.
USSurveyFeet = 21US survey feet, 21: 1 200 / 3 937 of a metre, 304.80061 millimetres.
USSurveyInch = 22US survey inches, 22: a twelfth of a US survey foot, 25.400051 millimetres.
USSurveyYard = 23US survey yards, 23: three US survey feet, 914.40183 millimetres.
USSurveyMile = 24US survey miles, 24: 5 280 US survey feet, 1 609 347.2 millimetres.