Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_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)

Dim _Document1 As _Document

Dim key As Object
Dim returnValue As String
returnValue = _Document1.ActiveWritingStyle(key)

Dim sampleValue As String
_Document1.ActiveWritingStyle(key) = sampleValue

property String^ ActiveWritingStyle{
	String^ get();
	Void set(String^);
public System.String get_Item(
	/*in*/System.Object LanguageID
public void set_Item(
	/*in*/System.Object LanguageID
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.



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.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms