IntelliCAD 11.1 Object Library | |
EndPlot Event | |
See Also |
- DrawingName
- The name of the drawing.
Application Object : EndPlot Event |
Description
Occurs when drawing has been sent to the printer.
Syntax
Visual Basic |
---|
Public Event EndPlot( _ ByVal DrawingName As String _ ) |
Parameters
- DrawingName
- The name of the drawing.
Example
The following example illustrates using the EndPlot event with an Application object. To use the EndPlot 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_EndPlot(DrawingName)
' This example receives an Application EndPlot event.
' This event occurs when IntelliCAD completes printing a drawing.
' To fire this event:
' 1) Run init() function to initialize App variable.
' 2) Print a drawing to completion.
MsgBox "A drawing has finished being printed."
End Sub