コード例 #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);
        }
コード例 #2
0
ファイル: SvgDocument.cs プロジェクト: MelvinLervick/r3d
        /// <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;
        }