_Document.Compatibility[WdCompatibility] Property

Definition

Determines if the specified compatibility option is enabled.

public:
 property bool Compatibility[Microsoft::Office::Interop::Word::WdCompatibility] { bool get(Microsoft::Office::Interop::Word::WdCompatibility Type); void set(Microsoft::Office::Interop::Word::WdCompatibility Type, bool value); };
public bool Compatibility[Microsoft.Office.Interop.Word.WdCompatibility Type] { get; set; }
member this.Compatibility(Microsoft.Office.Interop.Word.WdCompatibility) : bool with get, set
Public Property Compatibility(Type As WdCompatibility) As Boolean

Parameters

Type
WdCompatibility

Required WdCompatibility. The compatibility option.

Property Value

Remarks

This property returns True if the compatibility option specified by the Type argument is enabled, and False if not. Compatibility options affect how a document is displayed in Microsoft Word.

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