共用方式為


DocumentBase.RemoveLockedStyles Method

Purges a document of locked styles when formatting restrictions have been applied in a document.

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 Sub RemoveLockedStyles
public void RemoveLockedStyles()

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace