We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to disable Spell checking


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



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;