TextFormattingRunProperties::SetTextEffects Method (TextEffectCollection^)
Visual Studio 2015
Gets a new TextFormattingRunProperties with the properties of this one but with the text effects set to the specified text effects.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- textEffects
-
Type:
System.Windows.Media::TextEffectCollection^
The new text effect collection.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting::TextFormattingRunProperties^| Exception | Condition |
|---|---|
| ArgumentNullException | textEffects is null. |
The textEffects is frozen by this method.
Show: