如何将墨迹画布笔划保存为文本文件中的坐标 [英] How to Save the ink canvas strokes as a coordinates in text file
本文介绍了如何将墨迹画布笔划保存为文本文件中的坐标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Inkcanvas应用程序。我创建了自定义inkcanvas类mycanvas。然后我拍摄了mycanvas的实例并将它们添加到stackpanel.Then我的主窗口上有一个按钮。我想保存墨水画布坐标,鼠标,鼠标按下事件坐标在一个文本文件中。
你可以给我指导。
I am working with Inkcanvas application.I created custom inkcanvas class"mycanvas" .Then I had taken the instances of mycanvas and add them to the stackpanel.Then I have one button on my main window.I want to save the ink canvas coordinates ,mouseup,mouse down events coordinates in one text file.
can u give me guidance please.
推荐答案
已经有一篇关于Codeproject的文章可能对你有帮助:
Saving-Rebuilding InkCanvas Strokes [ ^ ]
祝你好运,
Stephan
Hi,
there already is an article on Codeproject which might help you:
Saving-Rebuilding InkCanvas Strokes[^]
Best regards,
Stephan
这篇关于如何将墨迹画布笔划保存为文本文件中的坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文