C#获取系统默认字体

// 通过注册表获取系统默认字体 string DefaultFontFaceName = (string)Microsoft.Win32.Registry.GetValue(@'HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/GRE_Initialize', 'GUIFont.Facename', 'SimSun');

你可能感兴趣的:(String,C#)