Method DeleteView
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
DeleteView(string)
Erases a named view with its layer snapshot, as -VIEW Delete does. One undo step named VIEW.
public void DeleteView(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.