Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我卡在了转换点我想用画布画一条线现在我想把这条线保存在位图数据中以备将来使用它怎么可能。
创建一个WriteableBitmap,使用您的 Canvas 作为构造函数的参数。然后使用SaveJpeg方法保存图片。
WriteableBitmap
SaveJpeg