_ApplicationEvents_Event.XDocumentBeforePrint Event

Definition

Occurs immediately before any open document is printed.

public:
 event Microsoft::Office::Interop::InfoPath::_ApplicationEvents_XDocumentBeforePrintEventHandler ^ XDocumentBeforePrint;
event Microsoft.Office.Interop.InfoPath._ApplicationEvents_XDocumentBeforePrintEventHandler XDocumentBeforePrint;
member this.XDocumentBeforePrint : Microsoft.Office.Interop.InfoPath._ApplicationEvents_XDocumentBeforePrintEventHandler 
Event XDocumentBeforePrint As _ApplicationEvents_XDocumentBeforePrintEventHandler 

Event Type

Remarks

The XDocumentBeforePrint event of the _ApplicationEvents_Event interface is primarily used with COM Add-ins. For more information about creating a COM Add-in for Microsoft InfoPath, see How To: Create a COM Add-in to Add Custom Features to InfoPath.

Applies to