Поделиться через


DocumentBase.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.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Property DisableFeatures As Boolean
    Get
    Set
public 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

DocumentBase Class

Microsoft.Office.Tools.Word Namespace