public Coord GetFontSize(bool bMax) { if (disposed) { throw new ObjectDisposedException(this.ToString()); } ConsoleFontInfo cfi = new ConsoleFontInfo(); if (!WinCon.GetCurrentConsoleFont(_handle, bMax, cfi)) { throw new ApplicationException("Unable to get font information."); } return(cfi.dwFontSize); }