예제 #1
0
        /// <summary>
        /// Save xml (only paper)
        /// </summary>
        public void SaveXMLPaper(string output)
        {
            Xml1           t1       = new Xml1();
            List <IFigure> _tempbox = new List <IFigure>(boxoffigure.Count);

            foreach (var i in boxoffigure)
            {
                if (i is IPaper)
                {
                    _tempbox.Add(i);
                }
            }
            t1.Write(output, _tempbox);
        }
예제 #2
0
        /// <summary>
        /// Save xml (streamwriter)
        /// </summary>
        public void SaveXMLAll(string output)
        {
            Xml1 t1 = new Xml1();

            t1.Write(output, boxoffigure);
        }