Hi Derek,
Thank you for the feedback. I can reproduce it on my computer.
When I tested the code on my computer, at first, it didn’t popup that error message. But my physical memory usage reached a very high rate. When the code was run the second time, the error message “Parameter is not valid�popup. If I run the code under VS debug mode, my computer almost dead.
So I think it is not the limitation of the .NET but the limitation of computer memory. I have installed 2 GB memory on my computer which allows me to run the code once. Could you please tell me why you want to create such large bitmap? Do you have any other way to implement it?
Sincerely,
Kira Qian
Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the
All-In-One Code Framework!