//Obtain the current console font index
CONSOLE_FONT_INFO currentFont;
bool success = GetCurrentConsoleFont(
_consoleOutputHandle,
false,
out currentFont);
//Use that index to obtain font size
Coord coord = GetConsoleFontSize(_consoleOutputHandle, currentFont.nFont);
return coord;
}
Returns an index to the currently selected console font
4/21/2011 4:43:53 AM - shelleybutterfly-67.163.100.116
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).