Yes, EDraw Web Office Component provides a “save” method to save the opened file to a web server or local hard disk.
[id(27), helpstring(“Saves the document to specified location or its original location.”)]
boolean Save([in, optional] VARIANT SaveAsDocument, [in, optional] VARIANT WebUsername, [in, optional] VARIANT WebPassword);
For example:
OA1.Save
OA1.Save “c:\temp.doc”
OA1.Save “http://www.ocxt.com/demo/upload.aspx“, “username”, “password”
One Response to “How to Save the opened file to server?”
Leave a Reply
You must be logged in to post a comment.
August 14th, 2007 at 11:28 pm
The above method isn’t adaptive with the version 5.
The new version add a “OverwriteExisting” variable. So that the developers can overwrite the exist file directly.
HRESULT Save([in, optional] VARIANT SaveAsDocument, [in, optional] VARIANT OverwriteExisting, [in, optional] VARIANT WebUsername, [in, optional] VARIANT WebPassword);