Xceed Words for .NET v3.0 Documentation
SaveAs(String,String) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Document Class > SaveAs Method : SaveAs(String,String) Method
The filename for the new Document.
The password for this Document, if any.
Saves the current Document as a new Document using the provided filename.
Syntax
'Declaration
 
Public Overloads Overridable Sub SaveAs( _
   ByVal filename As String, _
   Optional ByVal password As String _
) 
'Usage
 
Dim instance As Document
Dim filename As String
Dim password As String
 
instance.SaveAs(filename, password)
public virtual void SaveAs( 
   string filename,
   string password
)

Parameters

filename
The filename for the new Document.
password
The password for this Document, if any.
Remarks
If the Document is password protected, and no password or an incorrect password is provided, an exception is thrown.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Document Class
Document Members
Overload List