开发者

Programmatically draw a bitmap to a WPF Canvas?

How can I programmatically draw a bitmap to a WPF Canvas? (or should I do something else entirely?) I will have about 4开发者_运维百科0 moving images.


If you need to dynamically create and modify bitmaps, then use a WritableBitmap. You can place these on a canvas.


I did something similar, but I wanted some logic on each image(object) so I created a UserControl with an image and just add the UserControl to the canvas.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜