---
title: "CanvasViewer..::.WorkspaceToControl Method "
canonical: https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_WorkspaceToControl.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# CanvasViewer.WorkspaceToControl Method 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Translates coordinates from the workspace-related coordinate system to the control-related one.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [WorkspaceToControl(PointF)](https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_WorkspaceToControl_1_ea862d5e.htm.md) |  Translates point coordinates from the workspace-related coordinate system to the control-related one.<br> (Overrides [BaseViewer](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md).[WorkspaceToControl(PointF)](https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_WorkspaceToControl_1_ea862d5e.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gmwc/icons/pubmethod.gif) |  [WorkspaceToControl(RectangleF)](https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_WorkspaceToControl_1_a73b99d3.htm.md) |  Translates rectangle coordinates from the workspace-related coordinate system to the control-related one.<br> (Overrides [BaseViewer](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md).[WorkspaceToControl(RectangleF)](https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_WorkspaceToControl_1_a73b99d3.htm.md).) |
   
## See Also

### Reference

- [CanvasViewer Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [CanvasViewer Members](https://www.graphicsmill.com/docs/gmwc/AllMembers_T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
