# GH_NamedView class

Namespace: [Grasshopper.GUI.Canvas](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.canvas.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_NamedView : GH_ISerializable
```

Named views are used both to store named views but also to allow smooth programmatic canvas navigation.

## Constructors

- [GH_NamedView](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/ctor.md): (5 overloads) Create a default named view.

## Properties

- [Name](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/name.md): Gets or sets the name of the view.
- [Point](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/point.md): Gets or sets the anchor point of the named view.
- [Type](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/type.md): Gets or sets a value indicating whether the anchor point represents the target or the center.
- [Zoom](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/zoom.md): Gets or sets the zoom factor of the named view.

## Methods

- [LoadFromViewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/loadfromviewport.md): Create a named view from a viewport.
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/read.md)
- [SetToViewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/settoviewport.md): (3 overloads) Animates a view transition.
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/write.md)

## Events

- [SmoothFrame](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-namedview/smoothframe.md): This event is raised during smooth animations.
