Antialias RadLabel

3 posts, 0 answers
  1. David
    David avatar
    4 posts
    Member since:
    Oct 2008

    Posted 17 Feb 2009 Link to this post

    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. David
    David avatar
    4 posts
    Member since:
    Oct 2008

    Posted 17 Feb 2009 Link to this post

    I was able to figure it out. This is the code that does it:

     
    radLabel.LabelElement.TextRenderingHint = TextRenderingHint.AntiAlias; 

  3. Nick
    Admin
    Nick avatar
    767 posts

    Posted 18 Feb 2009 Link to this post

    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.
Back to Top