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
Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.