Viewer.OnDocumentUnloaded Event

Visio Viewer

Occurs after the current document in the Microsoft Office Visio 2007 Viewer is unloaded.

Version Information
 Version Added:  Visio 2007

Syntax

expression.OnDocumentUnloaded

expression   An expression that returns a Viewer object.

Return Value
nothing

Remarks

To unload the current document in the Viewer programmatically, use the Unload method.

Example

Visual Basic for Applications
  Private Sub vsoViewer_OnDocumentUnloaded()
    Debug.Print "Current document unloaded."
End Sub