---
title: "RedEyeRemoval Constructor (Rectangle)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_RedEyeRemoval_ctor_1_feafa487.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/)

# RedEyeRemoval Constructor (Rectangle)
 
Creates and initializes new instance of the [RedEyeRemoval](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeRemoval.htm.md) class. You can pass the face rectangle into this constructor. It is convenient for the [Semiautomatic](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeRemovalMode.htm.md) mode.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _faceRegion As Rectangle _
)
```
 
```csharp
public RedEyeRemoval(Rectangle faceRegion
)
```
 
### Parameters
 
 - faceRegion
     - Type: [System.Drawing.Rectangle](http://msdn2.microsoft.com/en-us/1zk39146)
A [Rectangle](http://msdn2.microsoft.com/en-us/1zk39146) which specifies the face region. You can change it later using the [FaceRegion](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_RedEyeRemoval_FaceRegion.htm.md) property.
 
## Remarks
  
When the Red Eye Removal works, it analyzes the facial features. It helps to reduce probability of malfunction. To make the red eye effect removal process as precise as possible, you should have the user to select the person's face as accurate as possible.
 
Users should select the face even if they use [Manual](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeRemovalMode.htm.md) mode. The eye they select should be inside this rectangl.
 
When you use this constructor, the default value of the [Mode](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_RedEyeRemoval_Mode.htm.md) property is [Semiautomatic](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeRemovalMode.htm.md).
   
## See Also

### Reference

- [RedEyeRemoval Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeRemoval.htm.md)
- [RedEyeRemoval Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_RedEyeRemoval_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
