How to disable Spell checking

Hi,

Could you please tell me how I can disable spell cheking in either whole document or paragraph?

Thanks,
Ewa

@acturisaspose,

Thanks for your inquiry. You can set the value of Font.NoProofing property to true for the formatted characters you do not need to be spell checked. Hope, this help.

Document doc = new Document("D:\\temp\\in.docx");

Paragraph para = doc.FirstSection.Body.FirstParagraph;
foreach(Run run in para.Runs)
{
    run.Font.NoProofing = true;
}
            
doc.Save("D:\\Temp\\18.6.docx");