Method RestoreView
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
RestoreView(string)
Shows a named view, as -VIEW Restore does: the space it was saved in made the one shown where another is, the canvas zoomed to it, and its layer snapshot restored where it has one. Restoring on screen is no step of undo of its own.
public void RestoreView(string name)
Parameters
namestringThe name, letters of either case alike.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- ArgumentException
Thrown when the drawing has no view of that name.