---
title: "BaseViewer..::.ControlToWorkspace Method (PointF)"
canonical: https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ControlToWorkspace_1_ea862d5e.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/).

# BaseViewer.ControlToWorkspace Method (PointF)

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Translates point coordinates from the control-related coordinate system to the workspace-related one.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```csharp
public virtual PointF ControlToWorkspace(PointF point
)
```
 
### Parameters
 
 - point
     - Type: [System.Drawing..PointF](http://msdn2.microsoft.com/en-us/library/ckys1c1e)
Point coordinates in the control coordinate system.
 
### Return Value
Point coordinates in the workspace coordinate system.
 
## Remarks
  
The workspace-related coordinate system represents logical coordinates of the image loaded in the control and allows to work with it regardless of zoom, scroll or alignment. The control-related one is used to measure parameters of standard control events (e.g. position of the mouse pointer).
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md)
- [ControlToWorkspace Overload](https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ControlToWorkspace.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
- [BaseViewer..WorkspaceToControl(PointF)](https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_BaseViewer_WorkspaceToControl_1_ea862d5e.htm.md)
