Property StandardScale
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
StandardScale
Gets or sets the standard scale of the view, as AutoCAD's StandardScale: the one whose ratio is
CustomScale to within a part in a thousand million, the first in the order of the type where two have it;
CustomScale where none has. A file keeps no standard scale of a viewport, so one
scaled to fit reads as the scale it was fitted to.
public DxfStandardScaleType StandardScale { get; set; }
Property Value
- DxfStandardScaleType
Set, the view's height made that of the scale, as CustomScale sets it.
Exceptions
- ArgumentOutOfRangeException
Thrown when the scale set is ScaleToFit, which needs AutoCAD's extents, CustomScale, or no scale of the type.
- InvalidOperationException
Thrown when the viewport is erased, or is of no height.