Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
        /// <summary>
        /// load xml (xmlreader)
        /// </summary>
        public void LoadXML2(string input)
        {
            Type2Xml t1 = new Type2Xml();

            boxoffigure = t1.Read(input);
        }
Esempio n. 3
0
        /// <summary>
        /// Save xml (xmlwriter)
        /// </summary>
        public void SaveXML2All(string output)
        {
            Type2Xml wx = new Type2Xml();

            wx.Write(output, boxoffigure);
        }