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

Syntax

'Declaration
Property Compatibility ( _
    Type As WdCompatibility _
) As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim Type As WdCompatibility
Dim value As Boolean

value = instance.Compatibility(Type)

instance.Compatibility(Type) = value
bool this[
    WdCompatibility Type
] { get; set; }

Parameters

Property Value

Type: System.Boolean

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.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace