Save a Document

To save a document

  1. Open the document. See Open .

    Set the OPENWaitOnOpen property to TRUE to prevent the Open method from returning before the document is completely processed.

    To save a document without viewing it, set the OPENMode property to 2 (open without generating a view).

  2. Use the CanSaveAs property to determine whether the document is completely processed and can be saved.

  3. Call the SaveAs method. To display the Save As dialog box and allow the user to save to a target file name, set the FileName parameter to an empty string.