ApplicationEvents4_EPostageInsertExEventHandler 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于为事件添加事件处理程序的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)
参数
- 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
指示的用户指定的操作。
- 属性
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈