Is there an (easy) way to convert System.Drawing.Font objects to GridFontInfo objects.
I want to do this because i want the user to choose his font through a regular FontDialog (i think that the FontListBox and FontComboBox aren't user friendly enough.)
ADAdministrator Syncfusion Team May 29, 2003 12:57 PM
System.Drawin.Font has several properties such as FontStyle, Name and others.
To initialize a GridFontInfo from such a font just set these properties manually in the GridFontInfo object.
style.Font.FontStyle = font.FontStyle;
style.Font.Size = font.SizeInPoints;
style.Font.FaceName = font.Name;