Ejemplo n.º 1
0
        private static XSSFFont CreateDefaultFont()
        {
            CT_Font  ctFont   = new CT_Font();
            XSSFFont xssfFont = new XSSFFont(ctFont, 0);

            xssfFont.FontHeightInPoints = (XSSFFont.DEFAULT_FONT_SIZE);
            xssfFont.Color    = (XSSFFont.DEFAULT_FONT_COLOR);//SetTheme
            xssfFont.FontName = (XSSFFont.DEFAULT_FONT_NAME);
            xssfFont.SetFamily(FontFamily.SWISS);
            xssfFont.SetScheme(FontScheme.MINOR);
            return(xssfFont);
        }