ARCed.Helpers.FontHelper.GetFont C# (CSharp) Method

GetFont() public static method

Creates and returns a font, first checking memorized fonts.
public static GetFont ( string familyName, float size, FontStyle style ) : Font
familyName string Name of the font family
size float Size of the font
style FontStyle Style to apply to the font
return System.Drawing.Font
        public static Font GetFont(string familyName, float size, FontStyle style)
        {
            var font = GetMemoryFont(familyName, size, style);
            return font ?? new Font(new FontFamily(familyName), size, style);
        }