Table of Contents

Property ResolutionUnits

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ResolutionUnits

Gets or sets the unit the picture's resolution is given in (group 281), as AutoCAD's ResolutionUnits: centimetres (2) or inches (5) for a picture that says its resolution, none (0) for one that does not.

public DxfUnit ResolutionUnits { get; set; }

Property Value

DxfUnit

Set, one of the three the DXF reference and ezdxf take, written as its number: AutoCAD 2021 wrote 5 for inches.

Exceptions

ArgumentOutOfRangeException

Thrown when the unit set is not none, centimetres or inches.

InvalidOperationException

Thrown when the definition is erased.