Version

TextSmoothingMode Property (FormattedLinkEditor)

Specifies whether to draw text antialiased. This property has effect only when drawing text using GDI+, which is the default text drawing mode.
Syntax
'Declaration
 
Public Property TextSmoothingMode As TextSmoothingMode
public TextSmoothingMode TextSmoothingMode {get; set;}
Example
The following code shows hot to anti-alias entire contents or parts of formatted text.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.Misc
Imports Infragistics.Win.FormattedLinkLabel

    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click
        ' To render the text anti-aliased, set the TextSmoothingMode to AntiAlias.
        Me.ultraFormattedLinkLabel1.TextSmoothingMode = TextSmoothingMode.AntiAlias

        ' You can also do this in the formatted text itself to anti-alias only 
        ' certain parts of the formatted text by using the text-smoothing-mode 
        ' style attribute.
        Me.ultraFormattedLinkLabel1.Value = "<span style=""text-smoothing-mode:antialias"">Anti-aliased</span> text."
    End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.Misc;
using Infragistics.Win.FormattedLinkLabel;
using System.Diagnostics;


		private void button1_Click(object sender, System.EventArgs e)
		{
			// To render the text anti-aliased, set the TextSmoothingMode to AntiAlias.
            this.ultraFormattedLinkLabel1.TextSmoothingMode = TextSmoothingMode.AntiAlias;

			// You can also do this in the formatted text itself to anti-alias only 
			// certain parts of the formatted text by using the text-smoothing-mode 
			// style attribute.
			this.ultraFormattedLinkLabel1.Value = @"<span style=""text-smoothing-mode:antialias"">Anti-aliased</span> text.";
		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also