---
title: "ICoordinateMapper..::.WorkspaceToControl Method (PointF, Unit)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ICoordinateMapper_WorkspaceToControl_2_054794b5.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/)

# ICoordinateMapper.WorkspaceToControl Method (PointF, Unit)
 
Converts point coordinates from workspace-related to control-related ones.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Function WorkspaceToControl ( _workspacePoint As PointF, _workspaceUnit As Unit _
) As Point
```
 
```csharp
                Point WorkspaceToControl(PointF workspacePoint,Unit workspaceUnit
)
```
 
### Parameters
 
 - workspacePoint
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
The point containing values measured in the coordinates of the workspace.

 - workspaceUnit
     - Type: [Aurigma.GraphicsMill.Unit](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Unit.htm.md)
The physical unit of measure.
 
### Return Value
The point containing the values of the workspacePoint argument translated into the coordinates of the control.
 
## Remarks
  
To apply a translation from the control coordinates to workspace coordinates, use the [ControlToWorkspace(Point, Unit)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ICoordinateMapper_ControlToWorkspace_2_eb60f29b.htm.md) method.
   
## See Also

### Reference

- [ICoordinateMapper Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ICoordinateMapper.htm.md)
- [WorkspaceToControl Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_ICoordinateMapper_WorkspaceToControl.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
