public int Callback(ref Enumlogfontex lpelfe, ref Newtextmetricex lpntme, int fontType, int lParam) { try { _cnt++; if (fontType != TruetypeFonttype) _fontList.Add(lpelfe); } catch { } return _cnt; }
public int Callback(ref Enumlogfontex lpelfe, ref Newtextmetricex lpntme, int fontType, int lParam) { try { _cnt++; if (fontType != TruetypeFonttype) { _fontList.Add(lpelfe); } } catch { } return(_cnt); }