---
title: "BaseViewer..::.workspaceClick Event"
canonical: https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_workspaceClick.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/)

# BaseViewer.workspaceClick Event
 
Fires when the content displayed in the control is clicked.
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function add_workspaceClick(value);
function remove_workspaceClick(value);
```
 
## Remarks
  
Position of the mouse pointer is measured in the coordinates of the workspace and can be used to determine a point of the content selected by mouse click.
 
This event corresponds to [BaseViewer.WorkspaceClick](https://www.graphicsmill.com/docs/gm5/E_Aurigma_GraphicsMill_AjaxControls_BaseViewer_WorkspaceClick.htm.md) server-side member.
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_BaseViewer.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
