編輯

共用方式為


_Document.ActiveWritingStyle[Object] Property

Definition

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

public:
 property System::String ^ ActiveWritingStyle[System::Object ^ %] { System::String ^ get(System::Object ^ % LanguageID); void set(System::Object ^ % LanguageID, System::String ^ value); };
public string ActiveWritingStyle[ref object LanguageID] { get; set; }
member this.ActiveWritingStyle(obj) : string with get, set
Public Property ActiveWritingStyle(ByRef LanguageID As Object) As String

Parameters

LanguageID
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

Remarks

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.

Applies to