public IEnumerable<string> GetFonts()
Return Value
Type: System.Collections.IEnumerable
Collection of fonts.
public IEnumerable<string> GetFonts()
Type: System.Collections.IEnumerable
Collection of fonts.
// get fonts var fonts = instance.GetFonts(); // name of first font string name = ""; if (fonts != null) { var fontList = fonts.ToList(); if(fontList.Count > 0) { name = fontList[0]; } }
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.