Expand Minimize
This topic has not yet been rated - Rate this topic

_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; }

Parameters

LanguageID
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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.