Export (0) Print
Expand All
Expand Minimize

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)

[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_EPostageInsertExEventHandler(
	Document Doc,
	int cpDeliveryAddrStart,
	int cpDeliveryAddrEnd,
	int cpReturnAddrStart,
	int cpReturnAddrEnd,
	int xaWidth,
	int yaHeight,
	string bstrPrinterName,
	string bstrPaperFeed,
	bool fPrint,
	out bool fCancel
)

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:
© 2014 Microsoft