NoProofing 属性 (Word)Selection.NoProofing property (Word)

如此 如果拼写和语法检查程序忽略指定的文本。True if the spelling and grammar checker ignores the specified text. 如果仅有某些指定的文本将 NoProofing 属性设置为 True ,则返回 wdUndefinedReturns wdUndefined if the NoProofing property is set to True for only some of the specified text. 读/写 Read/write Long.

语法Syntax

expressionexpression. NoProofing

_表达式_一个代表**Selection** 对象的变量。expression A variable that represents a Selection object.

示例Example

本示例实现的功能是:标记当前选定内容,以便拼写和语法检查工具将其忽略。This example marks the current selection to be ignored by the spelling and grammar checker.

Selection.NoProofing = True

另请参阅See also

Selection 对象Selection Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.