Share via


ApplicationEvents4.DocumentBeforePrint Method

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub DocumentBeforePrint ( _
    Doc As Document, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As ApplicationEvents4
Dim Doc As Document
Dim Cancel As Boolean

instance.DocumentBeforePrint(Doc, Cancel)
void DocumentBeforePrint(
    Document Doc,
    out bool Cancel
)

Parameters

See Also

Reference

ApplicationEvents4 Interface

ApplicationEvents4 Members

Microsoft.Office.Interop.Word Namespace