Functionwd_saveasdocument

Defined in: pbwword

public subroutine wd_saveasdocument (string arg_h_file, string arg_filename, s_save_options options)

Comment:
Saves specified document


Script:
public subroutine wd_saveasdocument (string arg_h_file, string arg_filename, s_save_options options);
string ls_options
ls_options = ""
IF ISVALID( options) THEN
	if ( NOT ISNULL(options.fileFormat)) THEN
		ls_options += options.fileFormat + ";"
	else
		ls_options +=  ";"
	end if
	
END IF
i_PBWWord.SaveAsDocument(arg_h_file, arg_fileName, ls_options)
end subroutine