# GH_CanvasDocumentChangedEventArgs 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_CanvasDocumentChangedEventArgs : EventArgs
```

These arguments are used in the DocumentChanged event on GH_Canvas.

## Constructors

- [GH_CanvasDocumentChangedEventArgs](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasdocumentchangedeventargs/ctor.md)

## Properties

- [NewDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasdocumentchangedeventargs/newdocument.md): Gets the document which has just been loaded into the canvas.
- [OldDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.canvas.gh-canvasdocumentchangedeventargs/olddocument.md): Gets the document which was previously loaded into the canvas.
