示例#1
0
        /// <summary>
        /// It creates a new SVG Image element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgImage AddImage(SvgElement parent)
        {
            var img = new SvgImage(this);

            AddElement(parent, img);

            return(img);
        }
示例#2
0
        /// <summary>
        /// It creates a new SVG Image element.
        /// </summary>
        /// <param name="parent">Parent element. If null the element is added under the root.</param>
        /// <returns>New element created.</returns>
        public SvgImage AddImage(SvgElement parent)
        {
            var img = new SvgImage(this);

            AddElement(parent, img);

            return img;
        }