---
title: "BitmapData..::.MemoryUsed Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_BitmapData_MemoryUsed.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/)

# BitmapData.MemoryUsed Property 
 
Returns a number of bytes occupied with pixels of this [BitmapData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_BitmapData.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public ReadOnly Property MemoryUsed As Integer
```
 
```csharp
public int MemoryUsed { get; }
```
 
### Property Value
A number of bytes occupied with pixels of this [BitmapData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_BitmapData.htm.md).
 
## Remarks
 You can use this value to allocate a buffer which should hold a copy of pixels of this [BitmapData](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_BitmapData.htm.md).
   
## See Also

### Reference

- [BitmapData Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_BitmapData.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
