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(
	Document Doc,
	Style NewStyle
)
Public Sub ApplyStyle ( _
	Doc As Document, _
	NewStyle As Style _
)
public:
void ApplyStyle(
	Document^ Doc, 
	Style^ NewStyle
)

Parameters

Doc
Document
Parent doc, containing actual StyleSheet.
NewStyle
Style
The style to apply

See Also