---
title: "Canvas..::.RenderWorkspace Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_RenderWorkspace_2_67f0adce.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Canvas.RenderWorkspace Method 
 
Renders all v-object in the workspace into a raster image with the specified resolution and color space.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Function RenderWorkspace ( _dpi As Single, _colorSpace As ColorSpace _
) As Bitmap
```
 
```csharp
public Bitmap RenderWorkspace(float dpi,ColorSpace colorSpace
)
```
 
### Parameters
 
 - dpi
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The resolution in DPI of the result image.

 - colorSpace
     - Type: [Aurigma.GraphicsMill.ColorSpace](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorSpace.htm.md)
The destination color space.
 
### Return Value
 
The [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) containing the result image.
   
## See Also

### Reference

- [Canvas Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
