---
title: "VObjectsRubberband..::.Connect Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_VObjectsRubberband_Connect_1_2c01f705.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 rubberband to a viewer control.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Overrides Sub Connect ( _viewer As ViewerBase _
)
```
 
```csharp
public override void Connect(ViewerBase viewer
)
```
 
### Parameters
 
 - viewer
     - Type: [Aurigma.GraphicsMill.WinControls.ViewerBase](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ViewerBase.htm.md)
A viewer to connect to.
 
### Implements
 
[IUserInputController.Connect(ViewerBase)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IUserInputController_Connect_1_2c01f705.htm.md) 
 [IUserInputController.Connect(ViewerBase)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IUserInputController_Connect_1_2c01f705.htm.md)
   
## See Also

### Reference

- [VObjectsRubberband Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_VObjectsRubberband.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
