ApplicationEvents4_EPostageInsertExEventHandler 委托

定义

用于为事件添加事件处理程序的EPostageInsertEx委托类型。 当用户将电子邮资插入文档中时,将发生 EPostageInsertEx 事件。

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)

参数

Doc
Document

必需 Document。 要添加电子邮政的文档。

cpDeliveryAddrStart
Int32

整数。 收信人地址的文档中的起始位置。 定位对应于 对象的 属性Range的值Start

cpDeliveryAddrEnd
Int32

整数。 在文档中收信人地址的结束位置。 定位对应于 Range 对象的 属性的值End

cpReturnAddrStart
Int32

整数。 寄信人地址的文档中的起始位置。 定位到一个 Range 对象, 启动 属性的值对应。

cpReturnAddrEnd
Int32

整数。 在文档中寄信人地址的结束位置。 定位与 Range 对象的 最终 属性值相对应。

xaWidth
Int32

整数。 以 1/1440 英寸为单位的信封宽度。

yaHeight
Int32

整数。 以 1/1440 英寸为单位的信封高度。

bstrPrinterName
String

字符串 。 "信封选项" 对话框的 "打印选项" 选项卡上指定的打印机名称。

bstrPaperFeed
String

字符串 。 "信封选项" 对话框的 "打印选项" 选项卡上指定的送纸方法。

fPrint
Boolean

Boolean 类型的值如此 如果用户已指定要打印的信封。 如果用户已指定要插入到文档中的信封。

fCancel
Boolean

Boolean 类型的值如果为 True ,则取消参数中 fPrint 指示的用户指定的操作。

属性

适用于