Hi Dmitry,
Thanks for your interest in Syncfusion products.
You can change the font size by using HTMLUI.BaseElement as shown below.
public Form1()
{
InitializeComponent();
this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
this.htmluiControl1.LoadHTML(@"..\..\..\fonts.html");
}
private System.Windows.Forms.TextBox textbox;
private void htmluiControl1_LoadFinished(object sender, EventArgs e)
{
Hashtable elements = this.htmluiControl1.Document.GetElementsByUserIdHash();
BaseElement textboxelm = (BaseElement)elements["textbox"];
textbox = (TextBox)this.htmluiControl1.Document.GetControlByElement(textboxelm);
textbox.Font= new Font("Arial",30);
}
Refer the documentation from below link.
http://help.syncfusion.com/ug_83/User%20Interface/Windows%20Forms/HTML%20UI/default.htm?turl=Documents%2Fhowtogetanobjectforthecontrolpresentinanhtmlelementinthehtmluicontrol.htm
Refer the sample from the following link.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=TextSize22144078.zip
Please let me know if you have any queries.
Regards,
Ramya D.