/// <summary> /// Save xml only paper (xmlwriter) /// </summary> public void SaveXML2Paper(string output) { Type2Xml wx = new Type2Xml(); List <IFigure> _tempbox = new List <IFigure>(boxoffigure.Count); foreach (var i in boxoffigure) { if (i is IPaper) { _tempbox.Add(i); } } wx.Write(output, _tempbox); }
/// <summary> /// Save xml (xmlwriter) /// </summary> public void SaveXML2All(string output) { Type2Xml wx = new Type2Xml(); wx.Write(output, boxoffigure); }