_Document.DisableFeatures Property

Determines if all features introduced after the version specified in the DisableFeaturesIntroducedAfter property are disabled.

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

Syntax

'Declaration
Property DisableFeatures As Boolean
    Get
    Set
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.DisableFeatures

instance.DisableFeatures = value
bool DisableFeatures { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if all features introduced after the version specified in the DisableFeaturesIntroducedAfter property are disabled, and False if they are enabled.

The DisableFeatures property only affects the document for which you set the property. Use this property if you plan on sharing a document between users with earlier versions of Microsoft Word, so you don't end up introducing into a document features that are not available in their versions of Word.

Use the DisableFeaturesbyDefault property to disable in all documents features introduced after a specified version.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace