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)

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_EPostageInsertExEventHandler ( _
	Doc As Document, _
	cpDeliveryAddrStart As Integer, _
	cpDeliveryAddrEnd As Integer, _
	cpReturnAddrStart As Integer, _
	cpReturnAddrEnd As Integer, _
	xaWidth As Integer, _
	yaHeight As Integer, _
	bstrPrinterName As String, _
	bstrPaperFeed As String, _
	fPrint As Boolean, _
	<OutAttribute> ByRef fCancel As Boolean _
)
'Usage
Dim instance As New ApplicationEvents4_EPostageInsertExEventHandler(AddressOf HandlerMethod)

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.

Show: