_Document.CompatibilityMode property

Office 2013 and later

Returns a long that specifies the compatibility mode that Word 2010 uses when opening the document.

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

int CompatibilityMode { get; }

Property value

Type: System.Int32
Returns a Int32.

Read-only. When you open a document in Word 2010 that was created in a previous version of Word, Compatibility Mode is turned on. Compatibility Mode ensures that no new or enhanced features in Word 2010 are available while working with a document, so that people who edit the document using previous versions of Word will have full editing capabilities.

Show: