ADAdministrator Syncfusion Team February 27, 2004 06:55 PM UTC
You could do so using the code below :
selectedFont = this.fontComboBox1.Items[this.fontComboBox1.SelectedIndex];
Please refer to the sample attached that shows how this can be done. Let me know if you have any questions.
FPFrédéric PacheFebruary 27, 2004 07:10 PM UTC
Thanks for this fast answer.
Actually I was more waiting for System.Drawing.Font from the FontComboBox. But this helped me:
System.Drawing.Font new_font = new Font(fontComboBox1.Items[fontComboBox1.SelectedIndex].ToString(), 6);
ADAdministrator Syncfusion Team February 29, 2004 04:26 AM UTC
Thanks for sharing this information with us. Please do let us know if you have any other questions. We appreciate your interest in Syncfusion products.