private void Font_Click(object sender, EventArgs e) { DialogResult r = fontDialog1.ShowDialog(); if (r == DialogResult.OK) { Font font = fontDialog1.Font; //this.webBrowser1.DocumentText = string.Format("Font is: {0}", font.Name); this.webBrowser1.DocumentText = font; } }
HTML
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)