I'm writing a simple program to convert text to strings. One quick question, how can I open the image once I finished creating that? I don't want to have pictureBox in the program.
问问题
90 次
1 回答
0
I am assuming you mean that you want to load your image into your application without having to physically store it in a property inside of a PictureBox. To do so, you can use Bitmap.FromFile e.g.
var myBitmap = Bitmap.FromFile("c:\somefile.bmp");
This is given that you are are creating and then saving your image to an path on the file system.
于 2012-06-14T19:24:14.607 回答