Property CustomScale
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
CustomScale
Gets or sets the scale of the view, as AutoCAD's CustomScale: the units of the sheet to the units of model space,
Height over ViewHeight; 0.02 for a viewport 150 high showing 7 500 of model space.
public double CustomScale { get; set; }
Property Value
- double
Set, the view's height made the viewport's height over it, the centre of the view kept.
Exceptions
- ArgumentOutOfRangeException
Thrown when the scale set is not a finite number above nought.
- InvalidOperationException
Thrown when the viewport is erased, or is of no height, which has no scale.