TextFormattingRunProperties::SetTextEffects Method (TextEffectCollection^)

 

Gets a new TextFormattingRunProperties with the properties of this one but with the text effects set to the specified text effects.

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

public:
TextFormattingRunProperties^ SetTextEffects(
	TextEffectCollection^ textEffects
)

Parameters

textEffects
Type: System.Windows.Media::TextEffectCollection^

The new text effect collection.

Exception Condition
ArgumentNullException

textEffects is null.

The textEffects is frozen by this method.

Return to top
Show: