Van Le Thanh
Van Le Thanh

Reputation: 91

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;
}

enter image description here

Upvotes: 0

Views: 134

Answers (1)

Eugene Astafiev
Eugene Astafiev

Reputation: 49397

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

You can try to use the Process 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.

Upvotes: 2

Related Questions