语法
表达式.EnforceStyle
表达式 返回 Document 对象的表达式。
示例
以下示例启用活动文档中的格式设置限制。
ActiveDocument.EnforceStyle = true