Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This event handler is included for backward compatibility only. It is recommended that you use the latest version of this event handler with the same name.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents2_DocumentBeforePrintEventHandler ( _
Doc As Document, _
ByRef Cancel As Boolean _
)
'Usage
Dim instance As New ApplicationEvents2_DocumentBeforePrintEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents2_DocumentBeforePrintEventHandler(
Document Doc,
ref bool Cancel
)
Parameters
- Doc
Type: Microsoft.Office.Interop.Word.Document
This event parameter is included for backward compatibility only.
- Cancel
Type: System.Boolean%
This event parameter is included for backward compatibility only.