We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting Font programmaticaly in EditControl

Thread ID:

Created:

Updated:

Platform:

Replies:

70163 Nov 29,2007 01:17 PM UTC Dec 1,2007 01:40 AM UTC Windows Forms 1
loading
Tags: EditControl
Falk Neumann
Asked On November 29, 2007 01:17 PM UTC

Hello!

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


Regards
Falk


J.Nagarajan [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;