Version

Smooth Formatted Text

The WinFormattedTextEditor™ control can smooth over any of its text by using a technique known as anti-aliasing. This smoothing capability turns jagged edges (aliasing) of letters into smooth curves (anti-aliasing). What really happens is that pixels of gray are added to the letter to give the effect of smooth edges. This can be very helpful if the visual appeal of the content is more important than the content itself.

At design time, you can set the TextSmoothingMode property in the Properties window to AntiAlias. Doing so will render all text as anti-aliased. To achieve the same effect at run time, use the following code:

In Visual Basic:

Me.UltraFormattedTextEditor1.TextSmoothingMode =_
  Infragistics.Win.FormattedLinkLabel.TextSmoothingMode.AntiAlias

In C#:

this.ultraFormattedTextEditor1.TextSmoothingMode =
  Infragistics.Win.FormattedLinkLabel.TextSmoothingMode.AntiAlias;

You also have the option of using this smoothing technique on specific text inside the Value property by using the Style attribute. If you want only a portion of text to be anti-aliased, encapsulate the text in the following <span> tag:

<span >Text to be anti-aliased</span>