Saves the document to a different name.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SaveAs( _
ByVal Name As String, _
ByVal Version As Integer, _
ByVal Options As Integer, _
ByVal ExportData As Object, _
ByRef Errors As Integer, _
ByRef Warnings As Integer _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Name As String
Dim Version As Integer
Dim Options As Integer
Dim ExportData As Object
Dim Errors As Integer
Dim Warnings As Integer
Dim value As 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