Alsing.Windows.Forms.CoreLib.FormatLabelControl.GetFont C# (CSharp) Метод

GetFont() приватный Метод

private GetFont ( Font font ) : GDIFont
font System.Drawing.Font
Результат Alsing.Drawing.GDI.GDIFont
        private GDIFont GetFont(Font font)
        {
            GDIFont gf = null;
            if (!_Fonts.TryGetValue(GetFontKey(font),out gf))            
            {
                gf = new GDIFont(font.Name, font.Size, font.Bold, font.Italic, font.Underline, false);
                _Fonts[GetFontKey(font)] = gf;
            }

            return gf;
        }