ApplicationEvents4_DocumentOpenEventHandler Delegate
A Delegate type used to add an event handler for the DocumentOpen event. The DocumentOpen event occurs when a document is opened.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_DocumentOpenEventHandler ( _
Doc As Document _
)
'Usage
Dim instance As New ApplicationEvents4_DocumentOpenEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_DocumentOpenEventHandler(
Document Doc
)
Parameters
- Doc
Type: Microsoft.Office.Interop.Word.Document
The document that's being opened.