Example #1
0
        /// <summary>
        /// Save xml only paper (xmlwriter)
        /// </summary>
        public void SaveXML2Paper(string output)
        {
            Xml2           wx       = new Xml2();
            List <IFigure> _tempbox = new List <IFigure>(boxoffigure.Count);

            foreach (var i in boxoffigure)
            {
                if (i is IPaper)
                {
                    _tempbox.Add(i);
                }
            }
            wx.Write(output, _tempbox);
        }
Example #2
0
        /// <summary>
        /// Save xml (xmlwriter)
        /// </summary>
        public void SaveXML2All(string output)
        {
            Xml2 wx = new Xml2();

            wx.Write(output, boxoffigure);
        }