Description
Apply the certain text style to this text-run. It doesn't replace current text-run style with a certain style, but rather combine them together.

Namespace: Docs.Word
Assembly: Docs.Word (in Docs.Word.dll) Version: 2.3.0.0 (2.3)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void ApplyStyle(
	TextStyle NewStyle,
	bool AddOnly
)
Public Sub ApplyStyle ( _
	NewStyle As TextStyle, _
	AddOnly As Boolean _
)
public:
void ApplyStyle(
	TextStyle^ NewStyle, 
	bool AddOnly
)

Parameters

NewStyle
TextStyle
The text style to apply.
AddOnly
Boolean
Set if you want only to add properties, not remove.

See Also