'宣言 Public Enum TextSmoothingMode Inherits System.Enum
public enum TextSmoothingMode : System.Enum
メンバ | 解説 |
---|---|
AntiAlias | テキストはアンチエイリアスで描画されます。 |
Default | デフォルトDefault は SystemSettings に解決されます。 |
SystemSettings | デフォルトのテキスト描画設定を使用します。 |
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."; }