语法
表达式.MakeCompatibilityDefault
表达式 必选。一个代表 Document 对象的变量。
说明
兼容性选项位于“选项”对话框的“兼容性”选项卡上,它们是新文档的默认设置。
示例
本示例首先为活动文档设置兼容性选项,然后将当前选项设置为默认设置。
ActiveDocument.Compatibility(wdSuppressSpBfAfterPgBrk) = true ActiveDocument.Compatibility(wdExpandShiftReturn) = true ActiveDocument.Compatibility(wdUsePrinterMetrics) = true ActiveDocument.Compatibility(wdNoLeading) = false ActiveDocument.MakeCompatibilityDefault()