Setting Font programmaticaly in EditControl

Hello!

how can I set the Font of the displayed Text in an EditControl?


Regards
Falk


1 Reply

J. J.Nagarajan Syncfusion Team December 1, 2007 01:40 AM UTC

Hi Falk ,

Please use the below code to programmatically set the font.

[C#]

ISnippetFormat formatMethod = this.editControl1.Language.Add(strFormatName);
formatMethod.FontColor = clrFontColor;
formatMethod.Font = new Font("Arial", 12);


Let me know if you have any questions.

Regards,
Nagaraj


Loader.
Up arrow icon