共用方式為


TextFormattingRunProperties.ForegroundOpacity 屬性

取得前景的不透明度。

命名空間:  Microsoft.VisualStudio.Text.Formatting
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Public ReadOnly Property ForegroundOpacity As Double
public double ForegroundOpacity { get; }
public:
property double ForegroundOpacity {
    double get ();
}
member ForegroundOpacity : float with get
function get ForegroundOpacity () : double

屬性值

類型:Double
前景的不透明度。

備註

Returns 1.0 if ForegroundOpacityEmpty is true.

.NET Framework 安全性

請參閱

參考

TextFormattingRunProperties 類別

Microsoft.VisualStudio.Text.Formatting 命名空間