Export (0) Print
Expand All
Expand Minimize

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

'Usage
Dim _Document1 As _Document

Dim key As WdCompatibility
Dim returnValue As Boolean
returnValue = _Document1.Compatibility(key)

Dim sampleValue As Boolean
_Document1.Compatibility(key) = sampleValue

bool this[
	[In] WdCompatibility Type
] {get; set;}
public boolean get_Item(
	/*in*/WdCompatibility Type
);
public void set_Item(
	/*in*/WdCompatibility Type
boolean);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

Type

Required WdCompatibility. The compatibility option.

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft