Exemplo n.º 1
0
        /// <inheritdoc/>
        void IProjectExporter.Save(string path, XContainer container)
        {
            var template = new Template();
            var drawing = new Drawing(template);

            Add(drawing, container);

            drawing.Save(path);
        }
Exemplo n.º 2
0
        /// <inheritdoc/>
        void IProjectExporter.Save(string path, XDocument document)
        {
            var template = new Template();
            var drawing = new Drawing(template);

            foreach (var container in document.Pages)
            {
                Add(drawing, container);
            }

            drawing.Save(path);
            ClearCache(isZooming: false);
        }