Hi Gary,
The HTMLUI control allows the user to access the default format used for rendering the html document. The DefaultFormat.Font property helps the user in getting or setting the base font and its size while rendering the document in the HTMLUI control. The font size can be changed by changing the DefaultFormat.Font property of the HTMLUI control.
[C#]
//Increasing the font size at run time by clicking a button
FontIncButton.Click += new System.EventHandler(FontIncButton_Click);
private void FontIncButton_Click(object sender, System.EventArgs e)
{
//Increasing the DefaultFormat font size
float fontSize = 15;
//Applying the changed size to the default format
htmluiControl.DefaultFormat.Font = new Font(htmluiControl.DefaultFormat.Font.FontFamily, fontSize);
}
The sample attached below shows how the font size can be changed as like in IE. Hope this helps you.
Thank you for your interest in Syncfusion products.
Regards,
Nanda.
33063_FontSizeChange.zip