Export (0) Print
Expand All
Expand Minimize

_Document.ActiveWritingStyle Property

Returns or sets the writing style for a specified language in the specified document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Property ActiveWritingStyle ( _
	ByRef LanguageID As Object _
) As String
Dim instance As _Document
Dim LanguageID As Object
Dim value As String

value = instance.ActiveWritingStyle(LanguageID)

instance.ActiveWritingStyle(LanguageID) = value


Type: System.Object%
Required Object. The language for which the writing style is set in the specified document. Can be either a string or one of the WdLanguageID constants.

Property Value

Type: System.String

The WritingStyleList property returns an array of the names of the available writing styles.

Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

Community Additions

© 2014 Microsoft