
Initiates saving the currently loaded document. The actual saving is performed by a method which has to be bound to the DocumentServer.Web.DocumentViewer.SaveDocument event.
[C#]
public void Save(FileFormat format);
public void Save(string path);
public void Save(string path, FileFormat format);
[Visual Basic]
Public Sub Save(ByVal format As FileFormat)
Public Sub Save(ByVal path As String)
Public Sub Save(ByVal path As String, ByVal format As FileFormat)
| Parameter | Description | |
| format | Specifies one of the DocumentServer.FileFormat values. | |
| path | Specifies where the document should be saved. |
A given path is always relating to the server the document viewer is runnig on. Thus, it is good practice to define the path parameter using the HttpServerUtility.MapPath() method.