# CreateTexture2dPreviewEventArgs class

Namespace: [Rhino.Render](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.render.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class CreateTexture2dPreviewEventArgs : EventArgs
```

## Properties

- [PreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.createtexture2dprevieweventargs/previewimage.md): Initially null. If this image is set, then this image will be used for the preview. If never set, the default internal simulation preview will be used.
- [PreviewImageSize](https://developer.rhino3d.com/api/rhinocommon/type/rhino.render.createtexture2dprevieweventargs/previewimagesize.md): Pixel size of the image that is being requested for the preview scene
