简体   繁体   中英

How to know if whether "Hide spelling and grammar errors" is turned on in PowerPoint by C#/VBA?

I want to know if whether the option "Hide spelling and grammar errors" is turned on or off (by C# or VBA). I found out the solution in Word, but in PowerPoint I can't find out the solution. Anyone can help me? Thanks so much. Sorry if my English is not good.

bool HideSpellingErrors() //in Word
{
    GetActiveWordFile();                  
    if (_activeDoc.ShowSpellingErrors == false)
    return true;
    else return false;
}

在此处输入图像描述

Office applications store their settings in a windows registry. For example, see disable proofing, spell checker, using GPO .

You can try to use theProcess monitor application to track what changes are required to disable or enable a particular setting in PowerPoint. See How to Use Process Monitor to Track Registry and File System Changes for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM