Saves the document to a different name.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SaveAs( _
ByVal Name As System.String, _
ByVal Version As System.Integer, _
ByVal Options As System.Integer, _
ByVal ExportData As System.Object, _
ByRef Errors As System.Integer, _
ByRef Warnings As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Name As System.String
Dim Version As System.Integer
Dim Options As System.Integer
Dim ExportData As System.Object
Dim Errors As System.Integer
Dim Warnings As System.Integer
Dim value As System.Boolean
value = instance.SaveAs(Name, Version, Options, ExportData, Errors, Warnings) |
Parameters
- Name
- New name of the document; the file extension indicates any conversion that should be performed (for example, Part1.igs to save to IGES) (see Remarks)
- Version
- Format in which to save this document as defined in swSaveAsVersion_e
- Options
- Option indicating how to save the document as defined in swSaveAsOptions_e
- ExportData
- IExportPdfData object for exporting drawing sheets to PDF or Nothing
- Errors
- Errors that caused the save to fail as defined in swFileSaveError_e
- Warnings
- Warnings or extra information generated during the save operation as defined in swFileSaveWarning_e
Return Value
True if the save is successful, false if not
Example
Remarks
See Also
Availability
SolidWorks 2007 SP1, Revision Number 15.1