-1

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?

enter image description here

Charles
  • 50,943
  • 13
  • 104
  • 142
Mohit
  • 516
  • 7
  • 24
  • My problem is that I want to use information of Line and Image in another Page i think it will be possible when I save all the info of Line and Image drawn in screen..But not able to think logic please help me – Mohit Jun 14 '13 at 09:19
  • 1
    Have you tried to use XML/JSON serialization ? [JSON.NET Line serialization winrt](http://stackoverflow.com/questions/15944553/json-net-line-serialization-winrt) – Farhan Ghumra Jun 14 '13 at 09:46
  • 1
    Yes, you have to get the xml note which is previously drawn line, then you can update it. – Farhan Ghumra Jun 14 '13 at 09:57
  • ok, I am posting my comment as answer. Please mark it as answer, comment there if you need any further help. I will update my answer. – Farhan Ghumra Jun 14 '13 at 10:09

1 Answers1

0

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

Community
  • 1
  • 1
Farhan Ghumra
  • 15,180
  • 6
  • 50
  • 115