Bitmap

  • Thread starter Thread starter jerry chapman
  • Start date Start date
J

jerry chapman

I have program that creates a new bitmap each time I display a new image.
The code follows:
myBitmap = new Bitmap(cols,rows);

While I was running it I received a warning about virtual memory being low.
Was that because I didn't delete the old bitmap before I created a new one?
If so, how do I delete the old bitmap?
 
Back
Top