Document.Close() taking long time for large documents RRS feed

  • Question

  • Whilst developing one of our office add ins, I had found for large document (400 Kb + .docx) - the Document.Close() method [void Close(ref object SaveChanges, ref object OriginalFormat, ref object RouteDocument);] call is taking up longer time.

    The following text is displayed in the status bar : "Word is finishing analysing your document, Press Esc to cancel", while the document gets closed. Clicking on 'Esc' manually does fasten up the process.

    Kindly let me know, if the documents can be quickly closed from the Document.CLose() method.
    Friday, May 8, 2009 9:45 AM