TX Text Control .NET for Windows Forms Documentation

DocumentServer.Web.DocumentViewer.Save Method

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.

Syntax

[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)
ParameterDescription
format

Specifies one of the DocumentServer.FileFormat values.

path

Specifies where the document should be saved.

Remarks

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.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now