# OpenDocumentOptions enum

Namespace: [Grasshopper2.UI.Canvas](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.canvas.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[Flags]
public enum OpenDocumentOptions
```

Various options for loading documents in the canvas.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 |  |
| Activate | 1 | Activate and display the document in the canvas after loading it. |
| Report | 2 | Show error feedback UI if the loading (partially) fails. |
| Track | 4 | Track the file by adding it to the recently accessed list. |
| Default | 7 | Activate, report errors and track the file. |
| Detach | 8 | Detach the file from its file location. |
