---
title: "CanvasViewer..::.ControlToWorkspace Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_ControlToWorkspace.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/)

# CanvasViewer.ControlToWorkspace Method 
 
Translates coordinates from the control-related coordinate system to the workspace-related one.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ControlToWorkspace(PointF)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_ControlToWorkspace_1_ea862d5e.htm.md) |  Translates point coordinates from the control-related coordinate system to the workspace-related one.<br> (Overrides [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md).[ControlToWorkspace(PointF)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ControlToWorkspace_1_ea862d5e.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ControlToWorkspace(RectangleF)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_ControlToWorkspace_1_a73b99d3.htm.md) |  Translates rectangle coordinates from the control-related coordinate system to the workspace-related one.<br> (Overrides [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md).[ControlToWorkspace(RectangleF)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ControlToWorkspace_1_a73b99d3.htm.md).) |
   
## See Also

### Reference

- [CanvasViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [CanvasViewer Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
