Edit

Share via


_Document.SetCompatibilityMode(Int32) Method

Definition

Sets the compatibility mode for the document.

public:
 void SetCompatibilityMode(int Mode);
public void SetCompatibilityMode (int Mode);
abstract member SetCompatibilityMode : int -> unit
Public Sub SetCompatibilityMode (Mode As Integer)

Parameters

Mode
Int32

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

Remarks

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.

Applies to