_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