---
title: "RectangleRubberband..::.MaskOpacity Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_RectangleRubberband_MaskOpacity.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/)

# RectangleRubberband.MaskOpacity Property 
 
Gets/sets the opacity of the mask.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
<BrowsableAttribute(True)> _
Public Property MaskOpacity As Integer
```
 
```csharp
[BrowsableAttribute(true)]
public int MaskOpacity { get; set; }
```
 
### Property Value
The opacity of the mask.
 
## Remarks
  
This property makes sense only when mask is enabled, i.e. the [MaskStyle](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_RectangleRubberband_MaskStyle.htm.md) property is not set to [None](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MaskStyle.htm.md).
 
To modify the mask color, use the [MaskColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_RectangleRubberband_MaskColor.htm.md) property.
   
## See Also

### Reference

- [RectangleRubberband Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_RectangleRubberband.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
