# NamedView class

Namespace: [Grasshopper2.Doc](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class NamedView : IStorable, IComparable<NamedView>
```

A single named view into a document.

## Constructors

- [NamedView](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/ctor.md): (3 overloads)

## Properties

- [Category](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/category.md): Gets the category to which this named view belongs.
- [Frame](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/frame.md): Gets the frame of focus for this named view. If not set, the Objects array will be used.
- [Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/name.md): Gets the name of this view.
- [Objects](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/objects.md): Gets the list of objects to focus on. If null, the Frame will be used.

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/compareto.md): Perform a case-insensitive category and case-sensitive name comparison.
- [ResolveRectangle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/resolverectangle.md): Resolve the zoom rectangle given a specific document.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.namedview/store.md)
