ApplicationEvents4_EPostageInsertExEventHandler delegate
A Delegate type used to add an event handler for the EPostageInsertEx event. The EPostageInsertEx event occurs when a user inserts electronic postage into a document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Parameters
- Doc
- Type: Microsoft.Office.Interop.Word.Document
Required Document. The document to which electronic postage is being added.
- cpDeliveryAddrStart
- Type: System.Int32
Integer. The starting position in the document for the delivery address. Positioning corresponds to the value of the Start property for a Range object.
- cpDeliveryAddrEnd
- Type: System.Int32
Integer. The ending position in the document for the delivery address. Positioning corresponds to the value of the End property for a Range object.
- cpReturnAddrStart
- Type: System.Int32
Integer. The starting position in the document for the return address. Positioning corresponds to the value of the Start property for a Range object.
- cpReturnAddrEnd
- Type: System.Int32
Integer. The ending position in the document for the return address. Positioning corresponds to the value of the End property for a Range object.
- xaWidth
- Type: System.Int32
Integer. The width of the envelope in 1/1440-inch units.
- yaHeight
- Type: System.Int32
Integer. The height of the envelope in 1/1440-inch units.
- bstrPrinterName
- Type: System.String
String. The name of the printer as specified on the Printing Options tab of the Envelope Options dialog box.
- bstrPaperFeed
- Type: System.String
String. The feed method as specified on the Printing Options tab of the Envelope Options dialog box.
- fPrint
- Type: System.Boolean
Boolean. True if the user has specified to print the envelope. False if the user has specified to insert the envelope into the document.
- fCancel
- Type: System.Boolean
Boolean. True cancels the action the user specified as indicated in the fPrint parameter.