SpreadsheetGear 2012
SaveAs(String,FileFormat,String) Method






Saves this workbook using the specified filename and FileFormat, and updates the FullName property.
Syntax
'Declaration
 
Overloads Sub SaveAs( _
   ByVal filename As System.String, _
   ByVal fileFormat As FileFormat, _
   ByVal password As System.String _
) 
'Usage
 
Dim instance As IWorkbook
Dim filename As System.String
Dim fileFormat As FileFormat
Dim password As System.String
 
instance.SaveAs(filename, fileFormat, password)
void SaveAs( 
   System.string filename,
   FileFormat fileFormat,
   System.string password
)
procedure SaveAs( 
    filename: System.String;
    fileFormat: FileFormat;
    password: System.String
); 
function SaveAs( 
   filename : System.String,
   fileFormat : FileFormat,
   password : System.String
);
void SaveAs( 
   System.string* filename,
   FileFormat fileFormat,
   System.string* password
) 
void SaveAs( 
   System.String^ filename,
   FileFormat fileFormat,
   System.String^ password
) 

Parameters

filename
fileFormat
password
Remarks
Note that the various workbook settings which make a workbook read-only in an end user workbookSet have no affect at this level.
Requirements

Target Platforms: Windows 7, 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

IWorkbook Interface
IWorkbook Members
Overload List
SaveAs(String,FileFormat) Method
Save Method
SaveToMemory(FileFormat,String) Method
SaveToStream(Stream,FileFormat,String) Method
Open(String,String) Method
OpenFromMemory(Byte[],String) Method
OpenFromStream(Stream,String) Method
Protect Method
Unprotect Method

Send Feedback