choose font using FontDialog
Published: 21. January 2009 | Updated: 21. January 2009License: Microsoft Public License (MS-PL)
Categories: Winforms
Tags: C# Winforms
Import namespace
using System.Windows.Forms;
Code
FontDialog dialog = new FontDialog(); if (dialog.ShowDialog() == DialogResult.OK) { Font selectedFont = dialog.Font; }
| Send us feedback about this snippet » |





