|
|
|
|
<Word Processing>.Save (Function) In french: <Traitement de texte>.Sauve Saves a document as a "docx" file. The saved document remains open. To close it, you must use <Word Processing>.Close. // Choose the directory and the backup name sFileName is string = fSelect(CompleteDir(fExeDir()),"presentation.docx", ... "Selecting DocX files","Docx file (*.docx)" + TAB + "*.docx" , "*.docx", fselCreate) // Save the file WP_NoName1.Save(sFileName) IF ErrorOccurred THEN Error(StringBuild("The %1 file was not saved.", sFileName), ErrorInfo()) RETURN END
Syntax
<Result> = <Word Processing control>.Save([<File path>])
<Result>: Boolean - True if the backup was performed,
- False otherwise.
<Word Processing control>: Control name Name of the Word Processing control to use. <File path>: Optional character string Full path and name of "docx" file.
If this parameter is specified, the file is saved at the specified location (the existing file is overwritten if necessary). Remark: IF the "docx" document is saved with a path that differs from the initial one (corresponds to "Save as"), the source file is closed, the document is saved in the new file and the new "docx" file remains opened. If this parameter is not specified, the path taken into account is the path specified in the property value of the Word Processing control handled.. If this property is empty, the function returns False. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|