Esempio n. 1
0
        /// <summary>
        /// It creates a new SVG Unsupported element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <param name="name">Name</param>
        /// <returns>
        /// New element created.
        /// </returns>
        /// <remarks>
        /// The unsupported element is used when during the parsing of a file an unknown
        /// element tag is found.
        /// </remarks>
        public SvgUnsupported AddUnsupported(SvgElement parent, string name)
        {
            var uns = new SvgUnsupported(this, name);

            AddElement(parent, uns);

            return(uns);
        }
Esempio n. 2
0
        /// <summary>
        /// It creates a new SVG Unsupported element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <param name="name">Name</param>
        /// <returns>
        /// New element created.
        /// </returns>
        /// <remarks>
        /// The unsupported element is used when during the parsing of a file an unknown
        /// element tag is found.
        /// </remarks>
        public SvgUnsupported AddUnsupported(SvgElement parent, string name)
        {
            var uns = new SvgUnsupported(this, name);

            AddElement(parent, uns);

            return uns;
        }