# NamedViewTable class

Namespace: [Rhino.DocObjects.Tables](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.tables.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public sealed class NamedViewTable : IEnumerable<ViewInfo>
```

All named views in a rhino document.

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/count.md): Number of named views in the table.
- [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/document.md): Document that owns this table.
- [Selection](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/selection.md): Returns the current selection in the Named Views panel. If more than one such panel is open, it will return the selection in the most recently opened panel.

## Indexers

- [this[]](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/item.md): Conceptually, the named view table is an array of ViewInfo and their associated names. The indexing operator ([] in C#) can be used to get individual ViewInfo items.

## Methods

- [Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/add.md): (2 overloads) Adds named view to document which is based on an existing viewport.
- [Delete](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/delete.md): (2 overloads) Remove named view from the document.
- [FindByName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/findbyname.md): Finds a named view.
- [GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/getenumerator.md)
- [Rename](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/rename.md): (2 overloads) Renames a named view.
- [Restore](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/restore.md): (3 overloads)
- [RestoreAnimated](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/restoreanimated.md): (4 overloads, obsolete)
- [RestoreAnimatedConstantSpeed](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/restoreanimatedconstantspeed.md)
- [RestoreAnimatedConstantTime](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/restoreanimatedconstanttime.md)
- [RestoreWithAspectRatio](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/restorewithaspectratio.md)
- [IEnumerable.GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.namedviewtable/system-collections-ienumerable-getenumerator.md)
