wpf - Can i use System.Drawing in wpf?

后端 未结 2 1942
余生分开走
余生分开走 2021-01-18 07:03

i am saving the image in database. .. but how to retrieve that image from database .. when i try to use system.drawing .. it shows an error .. some of ppl saying i can\'t us

2条回答
  •  臣服心动
    2021-01-18 07:43

    You can use the classes in the System.Drawing namespace, but you will have to add a reference to the assembly containing the class you're interested in, by right clicking on the project, and choosing the "Add Reference..." option

提交回复
热议问题