Share via


Document.DisableFeatures Property

Gets or sets a value that indicates whether all features introduced after the version specified in the DisableFeaturesIntroducedAfter property are disabled.

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

Syntax

'Declaration
Property DisableFeatures As Boolean
bool DisableFeatures { get; set; }

Property Value

Type: System.Boolean
true if all features introduced after the version specified in the DisableFeaturesIntroducedAfter property are disabled; otherwise, false.

Remarks

This 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 Office Word, so you do not introduce 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.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace