Obsolete. Superseded by IModelDocExtension::SaveAs2.
.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
- Full pathname of the document to save; the file extension indicates any conversion that should be performed (for example, Part1.igs to save in IGES format) (see Remarks)
- Version
- Format in which to save this document as defined in swSaveAsVersion_e (see Remarks)
- Options
- Option indicating how to save the document as defined in swSaveAsOptions_e (see Remarks)
- ExportData
- IExportPdfData object for exporting drawing sheets to PDF (see Remarks)
- Errors
- Errors that caused the save to fail as defined in swFileSaveError_e (see Remarks)
- Warnings
- Warnings or extra information generated during the save operation as defined in swFileSaveWarning_e (see Remarks)
Return Value
True if the save is successful, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2007 SP1, Revision Number 15.1