I recently started learning WPF. In my program I need to draw a picture at runtime and display it. It seems that I should use Image class, but how should I paint the picture and display it? Using windows forms I would initialize Graphics and draw in a Bitmap displaying it in a PictureBox. Can I do something simmilar in WPF? Thanks.
plenty of examples here in SO:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.