Table of Contents

Property ResolutionMMPerPixel

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ResolutionMMPerPixel

Gets or sets the size of one pixel in millimetres (groups 11, 21), as AutoCAD's ResolutionMMPerPixel: (0.2646, 0.2646) for a picture of 96 dots an inch; (1, 1) where the record gives none, as ezdxf and ACadSharp read none, and for a definition made in code.

public GeoVector2 ResolutionMMPerPixel { get; set; }

Property Value

GeoVector2

Set, each part written as the number given, as AutoCAD 2021 writes 0.5 set.

Exceptions

ArgumentOutOfRangeException

Thrown when a part set is not a finite number above nought.

InvalidOperationException

Thrown when the definition is erased.