Beispiel #1
0
 /// <summary>
 /// Save the current content of the document into a file on the file system
 /// (this inlcudes all children if any).
 /// </summary>
 /// <param name="filename"></param>
 public bool SaveDocument(
     string filename,
     ObservableCollection <ShapeViewModelBase> docRoot
     )
 {
     return(PageViewModelBase.Write(filename, this, docRoot));
 }
Beispiel #2
0
 /// <summary>
 /// Save the current content of the document as XML string
 /// (this inlcudes all children if any).
 /// </summary>
 /// <returns></returns>
 public string SaveDocument(IEnumerable <ShapeViewModelBase> mDocRoot)
 {
     return(PageViewModelBase.Write(this, mDocRoot));
 }