Table of Contents

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

name string

The 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.