Returns a number of bytes occupied with pixels of this Bitmap.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public ReadOnly Property MemoryUsed As Integer
public int MemoryUsed { get; }
Console.WriteLine(" Memory Used: " & bitmap.MemoryUsed)
Aurigma.GraphicsMill.BitmapData bitmapData = bitmap.LockBits(); Console.WriteLine(" Memory Used: " + bitmapData.Height * bitmapData.Stride); bitmap.UnlockBits(bitmapData);