Expand Minimize

DocumentBase.CompatibilityMode Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value that specifies the compatibility mode that Word uses when opening the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

public int CompatibilityMode { get; }

Property Value

Type: System.Int32
A value that specifies the compatibility mode that Word uses when opening the document. The value corresponds to one of the Microsoft.Office.Interop.Word.WdCompatibilityMode values.

ExceptionCondition
MissingMemberException

This method is used in a Word 2007 project.

When you open a document 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 2013 or 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.

NoteNote

This method appears in IntelliSense in Word 2007 projects that target the .NET Framework 4. However, this property cannot be used in Word 2007 projects.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft