Ejemplo n.º 1
0
        public object createElement(string tagName)
        {
            if (tagName == "canvas") {
                if (this.canvas == null) {
                    this.canvas = new HTMLCanvasElementWrapper(new HTMLCanvasElement(this.ownerDocument.defaultView));
                }
                return this.canvas;
            }

            throw new NotSupportedException();   
        }
Ejemplo n.º 2
0
        public object createElement(string tagName)
        {
            if (tagName == "canvas")
            {
                if (this.canvas == null)
                {
                    this.canvas = new HTMLCanvasElementWrapper(new HTMLCanvasElement(this.ownerDocument.defaultView));
                }
                return(this.canvas);
            }

            throw new NotSupportedException();
        }