Example #1
0
        private Font ReadFont()
        {
            string name = ReadString(SECTION, "FontName", "Bold");

            float size = Convert.ToSingle(ReadString(SECTION, "FontSize", "110"));

            FontStyle style = AppUtility.BuildFontStyle(ReadString(SECTION, "FontStyle", ""));

            return(new Font(name, size, style));
        }