How to

choose font using FontDialog

Published: 21. January 2009 | Updated: 21. January 2009
License: Microsoft Public License (MS-PL)
Categories: Winforms
Tags: C# Winforms
Was this snippet helpful for you? YESYES / NONO
Get Analyzant!

Check your entire website from code to content in minutes with Analyzant, the free analysis suite.

Free download at

Import namespace

using System.Windows.Forms;


FontDialog dialog = new FontDialog();
if (dialog.ShowDialog() == DialogResult.OK)
    Font selectedFont = dialog.Font;
Send us feedback about this snippet »

Related Snippets: