---
title: "BaseViewer..::.rubberband Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_rubberband.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.rubberband Property 
 
Gets/sets the rubberband control ID (i.e. value stored in the attribute **id** of the tag that inserts the control).
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_rubberband();
function set_rubberband(value);
```
 
### Property Value
The value which contains an ID of the rubberband control you need to attach.
 
## Remarks
  
Only the [RectangleRubberband](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_RectangleRubberband.htm.md) control is available.
 
This property corresponds to [BaseViewer.Rubberband](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_Rubberband.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)

### Manual

- [Using Navigators and Rubberbands (AJAX Controls)](https://www.graphicsmill.com/docs/gm5/AjaxControlsUsingNavigatorsandRubberbands.htm.md)
