Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ActiveWritingStyle Property
Collapse the table of content
Expand the table of content

_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

© 2015 Microsoft