This is a migrated thread and some comments may be shown as answers.

Antialias RadLabel

2 Answers 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 17 Feb 2009, 09:54 PM
I am using a larger screen with enlarged fonts for older users. I would like to antialias my RadLabels but do not know how.

I got a code snippet for doing this on a RadButton a while ago, but I cannot seem to make it work also for a RadLabel.

Can someone please post a snippet that allows me to antialias the text in a RadLabel?

Thanks,

David

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 17 Feb 2009, 09:58 PM
I was able to figure it out. This is the code that does it:

 
radLabel.LabelElement.TextRenderingHint = TextRenderingHint.AntiAlias; 

0
Nick
Telerik team
answered on 18 Feb 2009, 07:40 AM
Hi David,

I am glad that you found that. Thank you for sharing it with the community.

Best wishes,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Nick
Telerik team
Share this question
or