---
title: "VObjectsRubberband..::.Connect Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VObjectsRubberband_Connect_1_08d95e47.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/)

# VObjectsRubberband.Connect Method 
 
Connects this [VObjectsRubberband](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VObjectsRubberband.htm.md) to the [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) control.
 
**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
  
```
Protected Overrides Sub Connect ( _viewer As BaseViewer _
)
```
 
```csharp
protected override void Connect(BaseViewer viewer
)
```
 
### Parameters
 
 - viewer
     - Type: [Aurigma.GraphicsMill.AjaxControls.BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md)
The [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md) to connect to.
   
## See Also

### Reference

- [VObjectsRubberband Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VObjectsRubberband.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
