---
title: "RectangleRegion..::.Contains Method (VObject)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RectangleRegion_Contains_1_26b3e8e4.htm
archived: true
applies_to:
  - product: "Graphics Mill"
    versions: ["5.5", "3.x-5.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

**You’re viewing outdated documentation.** [View the latest Graphics Mill documentation](https://www.graphicsmill.com/docs/gm/).

# RectangleRegion.Contains Method (VObject)

**Applies to:** Graphics Mill 5.5, 3.x-5.x (may differ) · **Archived documentation**
 
Determines if the specified [VObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObject.htm.md) is entirely contained within this [RectangleVObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RectangleVObject.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Function Contains ( _vo As VObject _
) As Boolean
```
 
```csharp
public bool Contains(VObject vo
)
```
 
### Parameters
 
 - vo
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObject.htm.md)
The [VObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_VObject.htm.md) to test.
 
### Return Value
 
The [Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) which indicates whether vo is entirely contained within this rectangle region.
   
## See Also

### Reference

- [RectangleRegion Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RectangleRegion.htm.md)
- [Contains Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RectangleRegion_Contains.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
