# DocumentDisplay 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
[IoId("00000000-98e8-4b08-b568-6884877317f6")]
public sealed class DocumentDisplay : IStorable
```

## Constructors

- [DocumentDisplay](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/ctor.md)

## Fields

- [ThrottlingFast](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/throttlingfast.md): (static)
- [ThrottlingMild](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/throttlingmild.md): (static)
- [ThrottlingNone](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/throttlingnone.md): (static)
- [ThrottlingSlow](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/throttlingslow.md): (static)

## Properties

- [CurrentRuleSet](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/currentruleset.md): Gets the currently active display rules. Note that these are the fully expanded rules, not the original rules. That is, all cite instructions have been resolved with their appropriate external rules.
- [CurrentRuleSetName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/currentrulesetname.md): Gets or sets the name of the current display rule set to use. If a non-existing name is specified, no rule set will be active.
- [Document](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/document.md): Gets the document this display object is associated with.
- [DocumentRuleNames](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/documentrulenames.md): Enumerate over all display rule names in the document.
- [DrawMeshes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/drawmeshes.md): Gets or sets whether the document preview should include meshes.
- [DrawWires](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/drawwires.md): Gets or sets whether the document preview should include wires.
- [Enabled](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/enabled.md): Gets or sets whether the preview ought to be draw at all.
- [Guises](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/guises.md): Gets or sets the guises to use for drawing the preview geometry of this document.
- [OnlySelected](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/onlyselected.md): Gets or sets whether the document preview is limited to the selected objects. Selected objects are then drawn regardless of their own display state, and with the standard rather than the selected guise.
- [StandardRuleNames](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/standardrulenames.md): Enumerate over all standard display rule names.
- [Throttling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/throttling.md): Gets or sets the timespan after which the preview cuts off in dynamic mode.

## Methods

- [FindRuleSet](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/findruleset.md): Find a given named ruleset.
- [ModifyRules](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/modifyrules.md): Try and update a named ruleset. If the name isn't known yet, a new rule set will be added. If the provided rules are null, any existing ruleset with the specified name will be removed.
- [RenameRules](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/renamerules.md): Rename a ruleset.
- [Restore](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/restore.md)
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/store.md)
- [UniqueName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/uniquename.md): Create a unique name based on the given one.
- [UpdateDisplay](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.documentdisplay/updatedisplay.md): Redraw the Rhino viewports.
