_Document.SetCompatibilityMode method

Office 2013 and later

Sets the compatibility mode for the document.

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

void SetCompatibilityMode(
	int Mode


Type: System.Int32

Specifies which version of Word to approximate. Use a constant from the WdCompatibilityMode enumeration as an argument for this parameter.

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.