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