Partager via


Envelope Members (Word)

Represents an envelope attached to a document.

Methods

Name

Description

Insert

Inserts an envelope as a separate section at the beginning of the specified document.

Options

Displays the Envelope Options dialog box.

PrintOut

Prints an envelope without adding the envelope to the active document.

UpdateDocument

Updates the envelope in the document with the current envelope settings.

Properties

Name

Description

Address

Returns the envelope delivery address as a Range object. Read-only.

AddressFromLeft

Returns or sets the distance (in points) between the left edge of the envelope and the delivery address. Read/write Single.

AddressFromTop

Returns or sets the distance (in points) between the top edge of the envelope and the delivery address. Read/write Single.

AddressStyle

Returns a Style object that represents the delivery address style for the envelope. Read-only.

Application

Returns an Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

DefaultFaceUp

True if envelopes are fed face up by default. Read/write Boolean.

DefaultHeight

Returns or sets the default envelope height, in points. Read/write Single.

DefaultOmitReturnAddress

True if the return address is omitted from envelopes by default. Read/write Boolean.

DefaultOrientation

Returns or sets the default orientation for feeding envelopes. Read/write WdEnvelopeOrientation.

DefaultPrintFIMA

True to add a Facing Identification Mark (FIM-A) to envelopes by default. Read/write Boolean.

DefaultSize

Returns or sets the default envelope size. Read/write String.

DefaultWidth

Returns or sets the default envelope width, in points. Read/write Single.

FeedSource

Returns or sets the paper tray for the envelope. Read/write WdPaperTray.

Parent

Returns an Object that represents the parent object of the specified Envelope 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. Read/write.

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. Read/write.

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. Read/write.

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. Read/write.

ReturnAddress

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. Read/write Single.

ReturnAddressFromTop

Returns or sets the distance (in points) between the top edge of the envelope and the return address. Read/write Single.

ReturnAddressStyle

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. Read/write.

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. Read/write.

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. Read/write.

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. Read/write.

Vertical

True vertically orients text on Asian envelopes. Read/write Boolean.