Options.ContextualSpeller 属性

定义

返回或设置 Boolean 值,该值表示是否使用上下文拼写检查器,基于单词上下文和它前后的单词来检查拼写。 读/写。

public:
 property bool ContextualSpeller { bool get(); void set(bool value); };
public bool ContextualSpeller { get; set; }
member this.ContextualSpeller : bool with get, set
Public Property ContextualSpeller As Boolean

属性值

String

注解

上下文拼写检查器可以识别出单词的结构和它们在句子中的位置,以确定拼写是否正确。 它可以找到标准拼写检查器找不到的错误。 例如,用户可能键入“superb owl”,而不是“super bowl”。 由于“superb”和“owl”都是拼写正确的单词,因此标准拼写检查器找不到错误。 基于句子上下文中的单词以及它们前后的单词,上下文拼写检查器就能确定正确单词是“super”和“bowl”,并自动进行更改。

此属性对应于“Word 选项”对话框的“校对”选项卡中的“使用上下文拼写检查”复选框。

适用于