# GH_PreviewArgs class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_PreviewArgs : IGH_PreviewArgs
```

This class is passed to Objects that implement IGH_PreviewObject during drawing operations.

## Properties

- [DefaultCurveThickness](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/defaultcurvethickness.md): Gets the curve thickness as defined by the viewport display scheme.
- [Display](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/display.md): Gets the Pipeline that is being used to draw the current preview.
- [Document](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/document.md): Gets the Grasshopper document that is currently drawing the preview.
- [MeshingParameters](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/meshingparameters.md): Gets the meshing parameters to be used during meshing breps.
- [ShadeMaterial](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/shadematerial.md): Gets the document default material for unselected Faces.
- [ShadeMaterial_Selected](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/shadematerial-selected.md): Gets the document default material for selected Faces.
- [Viewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/viewport.md): Gets the Viewport in which the current preview is drawn.
- [WireColour](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/wirecolour.md): Gets the document default colour for unselected Wires.
- [WireColour_Selected](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-previewargs/wirecolour-selected.md): Gets the document default colour for selected Wires.
