DocSaveΒΆ
DocSave saves a document to disk.
- bool = DocSave(hDoc, ssFileName)
- bool = DocSave(hDoc, ssFileName, nFlags)
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
- hDoc
Identifies the document.
- ssFileName
ssFileName is the file name with the extension
.ipzor.ipw.
- nFlags
Flags
Description
DOC_SAVE_MRU(1)The file name will be added to the most recent used file list.
Example
// Use the forward slash:
DocSave(hDoc, "d:/myfiles/doc.ipz")
// or the double backslashes:
DocSave(hDoc, "d:\\myfiles\\doc.ipz")
Comment
If a file with an identical filename already exists the file will be overwritten. The function fails if a file with the identical filename already exits and the file is open.
History
Version |
Description |
|---|---|
R2012 (5.40.0) |
ipz file format. |
See also
Overview Documents, DocCreate, DocSaveModified, DocSetPathName
id-1226046