Share via


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

整数型 ( Integer ) を使用します。 配送先住所にドキュメント内の開始位置。 配置は、オブジェクトの プロパティの Start 値に Range 対応します。

cpDeliveryAddrEnd
Int32

整数型 ( Integer ) を使用します。 配送先住所の文書の終了位置です。 配置は、Range オブジェクトの プロパティのEnd値に対応します。

cpReturnAddrStart
Int32

整数型 ( Integer ) を使用します。 差出人住所用の文書の開始位置。 位置は、 Range オブジェクトの Start プロパティの値に対応します。

cpReturnAddrEnd
Int32

整数型 ( Integer ) を使用します。 差出人住所用の文書の終了位置です。 位置は、 Range オブジェクトの End プロパティの値に対応します。

xaWidth
Int32

整数型 ( Integer ) を使用します。 封筒の幅 (1/1440 インチ (1/3658 cm) 単位) になります。

yaHeight
Int32

整数型 ( Integer ) を使用します。 封筒の高さ (1/1440 インチ (1/3658 cm) 単位) になります。

bstrPrinterName
String

String 。 [ 封筒オプション] ダイアログ ボックスの [ 印刷オプション] タブで指定されるプリンターの名前です。

bstrPaperFeed
String

String 。 [ 封筒オプション] ダイアログ ボックスの [ 印刷オプション] タブで指定される給紙方法です。

fPrint
Boolean

ブール値 です。 True の 場合は、封筒を印刷するのには、ユーザーが指定しました。 False 場合は、ユーザーが指定した文書に封筒を挿入します。

fCancel
Boolean

ブール値 です。 True を指定 すると、 パラメーターに示されているようにユーザーが指定したアクションが fPrint 取り消されます。

属性

適用対象