IntelliCAD 11.1 Object Library | |
SaveAs Method | |
See Also |
- SaveFile
- The name and path of the saved file, which then becomes the active document.
- Version
- The file format of the saved drawing.
Document Object : SaveAs Method |
Description
Save the document to a different name and optionally a different version. The default version is R2007.
Syntax
Visual Basic |
---|
Public Sub SaveAs( _ ByVal SaveFile As String, _ Optional ByVal Version As FileVersions = vicVersionR2007 _ ) |
Parameters
- SaveFile
- The name and path of the saved file, which then becomes the active document.
- Version
The file format of the saved drawing.Value Description vicVersionR10 .dwg version 10 file. vicVersionR11_12 .dwg version 11/12 file. vicVersionR13 .dwg version 13 file. vicVersionR14 .dwg version 14 file. vicVersionR2_5 .dwg version 2.5 file. vicVersionR2_6 .dwg version 2.6 file. vicVersionR2000 .dwg version 2000 file. vicVersionR2004 .dwg version 2004 file. vicVersionR2007 .dwg version G 2007 file. vicVersionR2010 vicVersionR2013 vicVersionR2018 vicVersionR9 .dwg version 09 file.
Example
Private Sub SaveAsExample()
' This example saves the drawing as a file called TESTING.DWG.
Application.ActiveDocument.SaveAs ("testing")
End Sub