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)

string this[
	ref Object LanguageID
] { get; set; }


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.

© 2015 Microsoft