Exemplo n.º 1
0
        public Shape Create(params OpenXmlElement[] newChildren)
        {
            Shape shape = new Shape()
            {
                Style = "" +
                                                   //"position:absolute;" +
                                                   //"left:0pt;" +
                                                   //"margin-left:7.9pt;" +
                                                   //"margin-top:5.9pt;" +
                        "height:" + height + ";" + // 73pt;
                        "width:" + width + ";" +   //475.3pt;
                        "z-index:1;" +
                        "mso-width-relative:page;" +
                        "mso-height-relative:page;",
                Filled    = true,
                FillColor = "#FFFFFF",
                Stroked   = true
            };

            shape.AddNamespaceDeclaration("v", "urn:schemas-microsoft-com:vml");
            shape.Append(newChildren);
            return(shape);
        }