Esempio n. 1
0
        /// <summary>
        /// Bolds the size of the font of.
        /// </summary>
        /// <returns>The font of size.</returns>
        /// <param name="Size">Size.</param>
        public static DSFont BoldFontOfSize(float Size)
        {
            var font = new DSFont();

            font.FontWeight = FontWeight.Bold;
            font.FontSize   = Size;
            return(font);
        }
Esempio n. 2
0
        /// <summary>
        /// Normals the size of the font of.
        /// </summary>
        /// <returns>The font of size.</returns>
        /// <param name="Size">Size.</param>
        public static DSFont NormalFontOfSize(float Size)
        {
            var font = new DSFont();

            font.FontWeight = FontWeight.Normal;
            font.FontSize   = Size;
            return(font);
        }