'Declaration Public Enum TextSmoothingMode Inherits System.Enum
public enum TextSmoothingMode : System.Enum
Member | Description |
---|---|
AntiAlias | Text will be drawn antialiased. |
Default | Default. Default is resolved to SystemSettings. |
SystemSettings | Use the default text rendering settings. |
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."; }
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