Description
Apply the style with certain name to this paragraph. It doesn't replace current paragraph style with a new 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,
	string StyleName
)
Public Sub ApplyStyle ( _
	Doc As Document, _
	StyleName As String _
)
public:
void ApplyStyle(
	Document^ Doc, 
	String^ StyleName
)

Parameters

Doc
Document
Parent document containing the actual StyleSheet.
StyleName
String
Name of the style to apply. It must be a valid style name.

See Also