IntelliCAD 11.1 Object Library | |
Close Method | |
See Also |
- SaveChanges
Boolean value:
TRUE = Saves the changes made since the last save operation.
FALSE = Do not save the changes made since the last save operation.
- File
- The name of the file to be saved. (Optional)
Document Object : Close Method |
Description
Closes the document and all associated windows.
Syntax
Visual Basic |
---|
Public Sub Close( _ Optional ByVal SaveChanges As Boolean = True, _ Optional ByVal File As String = "" _ ) |
Parameters
- SaveChanges
Boolean value:
TRUE = Saves the changes made since the last save operation.
FALSE = Do not save the changes made since the last save operation.
- File
- The name of the file to be saved. (Optional)
Example
Private Sub CloseMethod()
Dim icadDoc As IntelliCAD.Document
Close
End Sub