Hi,
I have a problem that I cant seem to resolve, i have a program that creates a rather large canvas (just below the limits of crashing due to insufficient memory) which is fine as I just e-mail it once its created, but how do I trash it after? it doesn't need to be displayed on the device, and is actually never visible to the user.
I would like to be able to destroy the canvas (which is drawn on a panel) so that it frees up the memory it used.
I have tried to reduce the size of the panel that the canvas is drawn on, but it has no effect even if I invalidate it.
any help would be greatly appreciated.
thanks
Darren
I have a problem that I cant seem to resolve, i have a program that creates a rather large canvas (just below the limits of crashing due to insufficient memory) which is fine as I just e-mail it once its created, but how do I trash it after? it doesn't need to be displayed on the device, and is actually never visible to the user.
I would like to be able to destroy the canvas (which is drawn on a panel) so that it frees up the memory it used.
I have tried to reduce the size of the panel that the canvas is drawn on, but it has no effect even if I invalidate it.
any help would be greatly appreciated.
thanks
Darren