Save a Document
To save a document
-
Open the document. See Open.
Set the OPENWaitOnOpen property to
TRUE
to prevent theOpen
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). -
Use the CanSaveAs property to determine whether the document is completely processed and can be saved.
-
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.