---
title: "CanvasViewer..::.WorkspaceToControl Method (PointF)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_WorkspaceToControl_1_ea862d5e.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.WorkspaceToControl Method (PointF)
 
Translates point coordinates from the workspace-related coordinate system to the control-related one.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Overrides Function WorkspaceToControl ( _point As PointF _
) As PointF
```
 
```csharp
public override PointF WorkspaceToControl(PointF point
)
```
 
### Parameters
 
 - point
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
Point coordinates in the workspace coordinate system.
 
### Return Value
The [PointF](http://msdn2.microsoft.com/en-us/ckys1c1e) value which represents point coordinates in the control coordinate system.
   
## See Also

### Reference

- [CanvasViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer.htm.md)
- [WorkspaceToControl Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_CanvasViewer_WorkspaceToControl.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
