IntelliCAD 11.1 Object Library
EndSave Event
See Also 
FileName
Workspace Object : EndSave Event

Description

Occurs when a request to save the drawing has been completed.

Syntax

Visual Basic
Public Event EndSave( _
   ByVal FileName As String _
)

Parameters

FileName

Remarks

Note that BeginSave occurs when a drawing is requested to be saved.

Example

The following example illustrates using the EndSave event with an Application object. To use the EndSave event with a Document or Workspace object, you do not need to initialize the App variable.

Public WithEvents App As Application

Sub init()

     'To receive and handle events from IntelliCAD, first initialize the App variable.

      Set App = ThisWorkspace.Application

End Sub


'Event handler

     Private Sub App_EndSave(FileName)

     ' This example receives an Application EndSave event.

     ' This event occurs when IntelliCAD completes saving a drawing.

     ' To fire this event:

     ' 1) Run init() function to initialize App variable.

     ' 2) Save a drawing to completion.

     MsgBox "A drawing has finished being saved."

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.