_Document.Compatibility Property

Determines if the specified compatibility option is enabled.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

bool this[
	WdCompatibility Type
] { get; set; }


Type: Microsoft.Office.Interop.Word.WdCompatibility
Required WdCompatibility. The compatibility option.

Property Value

Type: System.Boolean

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.

Community Additions