Envelope 接口

定义

表示信封。Represents an envelope.

public interface class Envelope
[System.Runtime.InteropServices.Guid("00020918-0000-0000-C000-000000000046")]
public interface Envelope
type Envelope = interface
Public Interface Envelope
属性

注解

没有信封集合;每个 Document 对象只包含一个信封对象。There is no Envelopes collection; each Document object contains only one Envelope object.

使用 Envelope 属性返回信封对象。Use the Envelope property to return the Envelope object.

信封 是可用而不考虑是否将信封添加到指定的文档。The Envelope object is available regardless of whether an envelope has been added to the specified document. 但是,如果使用封套属性,则会发生错误。However, an error occurs if you use the Envelope property. 当未将信封添加到文档中时, UpdateDocument方法或下列属性之一:、、、、、 Address AddressFromLeft AddressFromTop FeedSource ReturnAddress ReturnAddressFromLeftReturnAddressFromTopUpdateDocument method or one of the following properties when an envelope hasn't been added to the document: Address, AddressFromLeft, AddressFromTop, FeedSource, ReturnAddress, ReturnAddressFromLeft, and ReturnAddressFromTop.

使用 Insert(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) 方法将信封添加到指定文档中。Use the Insert(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method to add an envelope to the specified document. 使用 PrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) 方法设置信封的属性并打印它,而无需将其添加到文档中。Use the PrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method to set the properties of an envelope and print it without adding it to the document.

属性

Address

以对象的形式返回信封收信人地址 RangeReturns the envelope delivery address as a Range object.

AddressFromLeft

返回或设置信封左边的缘与收信人地址之间的距离 (以磅为单位)。Returns or sets the distance (in points) between the left edge of the envelope and the delivery address.

AddressFromTop

返回或设置信封上的边缘与收信人地址之间的距离 (以磅为单位)。Returns or sets the distance (in points) between the top edge of the envelope and the delivery address.

AddressStyle

返回一个 Style 对象,表示信封的收信人地址样式。Returns a Style object that represents the delivery address style for the envelope.

Application

返回一个 Application 代表 Microsoft Word 应用程序的对象。Returns a Application object that represents the Microsoft Word application.

Creator

返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。Returns a 32-bit integer that indicates the application in which the specified object was created.

DefaultFaceUp

确定在默认情况下是否将信封送纸正面朝上。Determines if envelopes are fed face up by default.

DefaultHeight

返回或设置默认的信封高度,以磅为单位。Returns or sets the default envelope height, in points.

DefaultOmitReturnAddress

确定默认情况下信封是否省略寄信人地址。Determines if the return address is omitted from envelopes by default.

DefaultOrientation

返回或设置默认送纸的信封的方向。Returns or sets the default orientation for feeding envelopes.

DefaultPrintBarCode

确定默认情况下是否将 POSTNET 条码添加到信封或邮件标签。Determines if a POSTNET bar code is added to envelopes or mailing labels by default.

DefaultPrintFIMA

确定默认情况下是否将饰面标识标记(FIM)添加到信封。Determines if a Facing Identification Mark (FIM-A) is added to envelopes by default.

DefaultSize

返回或设置默认信封尺寸。Returns or sets the default envelope size.

DefaultWidth

返回或设置默认信封宽度,以磅为单位。Returns or sets the default envelope width, in points.

FeedSource

返回或设置信封送纸器。Returns or sets the paper tray for the envelope.

Parent

返回一个对象,代表指定对象的父对象。Returns an object that represents the parent object of the specified object.

RecipientNamefromLeft

返回或设置 一个 值,表示的位置,以磅为单位,收信人姓名距信封左边缘。Returns or sets a Single that represents the position, measured in points, of the recipient's name from the left edge of the envelope. 用于亚洲语言信封。Used for Asian language envelopes.

RecipientNamefromTop

返回或设置 一个 值,表示的位置,以磅为单位,收信人姓名距信封上边缘。Returns or sets a Single that represents the position, measured in points, of the recipient's name from the top edge of the envelope.

RecipientPostalfromLeft

返回或设置 一个 值,表示的位置,以磅为单位,收信人邮政编码距信封左边缘。Returns or sets a Single that represents the position, measured in points, of the recipient's postal code from the left edge of the envelope.

RecipientPostalfromTop

返回或设置 一个 值,表示的位置,以磅为单位,收信人邮政编码距信封上边缘。Returns or sets a Single that represents the position, measured in points, of the recipient's postal code from the top edge of the envelope.

ReturnAddress

返回一个 Range 对象,表示寄信人地址。Returns a Range object that represents the envelope return address.

ReturnAddressFromLeft

返回或设置信封左边的缘与寄信人地址之间的距离 (以磅为单位)。Returns or sets the distance (in points) between the left edge of the envelope and the return address.

ReturnAddressFromTop

返回或设置信封上的边缘与寄信人地址之间的距离 (以磅为单位)。Returns or sets the distance (in points) between the top edge of the envelope and the return address.

ReturnAddressStyle

返回一个 Style 对象,表示该信封的寄信人地址样式。Returns a Style object that represents the return address style for the envelope.

SenderNamefromLeft

返回或设置 一个 值,表示的位置,以磅为单位,发件人姓名距信封左边缘。Returns or sets a Single that represents the position, measured in points, of the sender's name from the left edge of the envelope.

SenderNamefromTop

返回或设置 一个 值,表示的位置,以磅为单位,发件人姓名距信封上边缘。Returns or sets a Single that represents the position, measured in points, of the sender's name from the top edge of the envelope.

SenderPostalfromLeft

返回或设置 一个 值,表示的位置,以磅为单位,发件人邮政编码距信封左边缘。Returns or sets a Single that represents the position, measured in points, of the sender's postal code from the left edge of the envelope.

SenderPostalfromTop

返回或设置 一个 值,表示的位置,以磅为单位,发件人邮政编码距信封上边缘。Returns or sets a Single that represents the position, measured in points, of the sender's postal code from the top edge of the envelope.

Vertical

对亚洲信封和邮件标签上的文本进行垂直排列。Vertically orients text on Asian envelopes and mailing labels.

方法

Insert(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

在指定文档的开头以单独一节的形式插入一个信封。Inserts an envelope as a separate section at the beginning of the specified document.

Insert2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

仅供内部使用。Reserved for internal use.

Options()

显示信封选项对话框。Displays the Envelope Options dialog box.

PrintOut(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

打印信封但不将信封添至活动文档。Prints an envelope without adding the envelope to the active document.

PrintOut2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

仅供内部使用。Reserved for internal use.

UpdateDocument()

用当前的信封设置更新文档中的信封。Updates the envelope in the document with the current envelope settings.

适用于