Share via


_ApplicationEvents.XDocumentBeforePrint method

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
Sub XDocumentBeforePrint ( _
    pDocument As _XDocument, _
    <OutAttribute> ByRef pfCancel As Boolean _
)
'Usage
Dim instance As _ApplicationEvents
Dim pDocument As _XDocument
Dim pfCancel As Boolean

instance.XDocumentBeforePrint(pDocument, _
    pfCancel)
void XDocumentBeforePrint(
    _XDocument pDocument,
    out bool pfCancel
)

Parameters

See also

Reference

_ApplicationEvents interface

_ApplicationEvents members

Microsoft.Office.Interop.InfoPath namespace