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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。