ApplicationEvents4_EPostageInsertExEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public delegate void ApplicationEvents4_EPostageInsertExEventHandler(Document ^ Doc, int cpDeliveryAddrStart, int cpDeliveryAddrEnd, int cpReturnAddrStart, int cpReturnAddrEnd, int xaWidth, int yaHeight, System::String ^ bstrPrinterName, System::String ^ bstrPaperFeed, bool fPrint, [Runtime::InteropServices::Out] bool % fCancel);
[System.Runtime.InteropServices.ComVisible(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);
type ApplicationEvents4_EPostageInsertExEventHandler = delegate of Document * int * int * int * int * int * int * string * string * bool * bool -> unit
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, ByRef fCancel As Boolean)
Parameters
- cpDeliveryAddrStart
- 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
- 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
- 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
- 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
- Int32
Integer. The width of the envelope in 1/1440-inch units.
- yaHeight
- Int32
Integer. The height of the envelope in 1/1440-inch units.
- bstrPrinterName
- String
String. The name of the printer as specified on the Printing Options tab of the Envelope Options dialog box.
- bstrPaperFeed
- String
String. The feed method as specified on the Printing Options tab of the Envelope Options dialog box.
- fPrint
- 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
- Boolean
Boolean. True cancels the action the user specified as indicated in the fPrint
parameter.
- Attributes