Method ZoomScaled
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ZoomScaled(double)
Scales the view as it is about its centre, as ZOOM nX: 2 shows half the width and half the height, 0.5 twice as much. One undo step named ZOOM.
public void ZoomScaled(double factor)
Parameters
factordoubleThe factor, above nought.
Exceptions
- ArgumentOutOfRangeException
Thrown when the factor is not a finite number above nought.