-
January 3rd, 2014, 12:48 AM
#1
Deserialize
Hi,
How do I Deserialize this?
Code:
public static void SerializeToXML(MainWindow window, Canvas canvas, int dpi, string filename)
{
string mystrXAML = XamlWriter.Save(canvas);
FileStream filestream = File.Create(filename);
StreamWriter streamwriter = new StreamWriter(filestream);
streamwriter.Write(mystrXAML);
streamwriter.Close();
filestream.Close();
}
Thanks
-
January 3rd, 2014, 01:32 AM
#2
Re: Deserialize
Start by looking up XamlReader
-
January 6th, 2014, 10:23 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|