TextFormattingRunProperties::SetBackgroundOpacity Method (Double)
Visual Studio 2015
Gets a new TextFormattingRunProperties with the BackgroundOpacity property set to the specified opacity.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- opacity
-
Type:
System::Double
The background opacity.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | opacity is less than zero or greater than one. |
Show: