问题
I am developing Drawing App for Windows store.I want to save information of Line and Images in XML drawn in the screen How can I do that please give me suggestion?
回答1:
Try to use XML/JSON serialization for line. You can save image as base64 strings
JSON.NET Line serialization winrt
How to convert Base64 string to image, then bind it to GridView in a Metro Style App?
Read Base64 image with C# in a Windows 8 app
来源:https://stackoverflow.com/questions/17105051/save-information-of-line-and-images