Constructor CadPlotScale
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadPlotScale(string, double, double)
Makes a scale.
public CadPlotScale(string name, double paperUnits, double drawingUnits)
Parameters
namestringThe name shown, as "1:20".
paperUnitsdoubleThe millimetres of the paper.
drawingUnitsdoubleThe units of the drawing they stand for.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- ArgumentException
Thrown when either number is not a finite number above nought.