---
title: "RectangleRegion..::.Contains Method (RectangleF)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_RectangleRegion_Contains_1_a73b99d3.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 (RectangleF)

**Applies to:** Graphics Mill 5.5, 3.x-5.x (may differ) · **Archived documentation**
 
Determines if the specified [RectangleF](http://msdn2.microsoft.com/en-us/kwafa1d7) 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 ( _rect As RectangleF _
) As Boolean
```
 
```csharp
public bool Contains(RectangleF rect
)
```
 
### Parameters
 
 - rect
     - Type: [System.Drawing.RectangleF](http://msdn2.microsoft.com/en-us/kwafa1d7)
The [RectangleF](http://msdn2.microsoft.com/en-us/kwafa1d7) to test.
 
### Return Value
 
The [Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) which indicates whether rect 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)
