TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Psymon
NA
18
7.3k
Serialize user drawn lines to XML
Sep 25 2011 4:21 PM
Hi I am trying my hand at wpf and would like to know how to save user drawn lines to XML I am creating lines using linegeometry and would be grateful to know how I can save these and load them back to a canvas? Many thanks ---Posted from iPhone App---
Reply
Answers (
1
)
3
Psymon
0
18
7.3k
Sep 26 2011 11:40 AM
OK i have this now was rather simple: XmlWriter writer = XmlWriter.Create(saveFile.FileName, settings); XamlDesignerSerializationManager manager = new XamlDesignerSerializationManager(writer); XamlWriter.Save(linkedThumb, manager);
Closing TabItem by clicking middle button
Add background image to shape?