Table of Contents

Property ToMillimeters

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ToMillimeters

Gets or sets whether the coordinates and sizes are scaled to millimetres by the unit the file says it is in (Units): a drawing in metres has its numbers times 1 000. False by default, which keeps the numbers as the file prints them.

public bool ToMillimeters { get; set; }

Property Value

bool

Remarks

Points, radii, elevations and the lengths of axes are scaled, and so are the insertion point of an INSERT, the base point of a block and the spacings of a MINSERT; angles, bulges, ratios, weights, knots, directions and the scales of an INSERT are not, having no unit. A file in millimetres is read to the bit either way. A file with no unit, or one the DXF reference does not list, is not scaled, and a warning says so.