Envelope Envelope Envelope Interface

Definition

Represents an envelope.

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

Remarks

There is no Envelopes collection; each Document object contains only one Envelope object.

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 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.

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. 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.

Properties

Address Address Address

Returns the envelope delivery address as a Range object.

AddressFromLeft AddressFromLeft AddressFromLeft

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

AddressFromTop AddressFromTop AddressFromTop

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

AddressStyle AddressStyle AddressStyle

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

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Creator Creator Creator

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

DefaultFaceUp DefaultFaceUp DefaultFaceUp

Determines if envelopes are fed face up by default.

DefaultHeight DefaultHeight DefaultHeight

Returns or sets the default envelope height, in points.

DefaultOmitReturnAddress DefaultOmitReturnAddress DefaultOmitReturnAddress

Determines if the return address is omitted from envelopes by default.

DefaultOrientation DefaultOrientation DefaultOrientation

Returns or sets the default orientation for feeding envelopes.

DefaultPrintBarCode DefaultPrintBarCode DefaultPrintBarCode

Determines if a POSTNET bar code is added to envelopes or mailing labels by default.

DefaultPrintFIMA DefaultPrintFIMA DefaultPrintFIMA

Determines if a Facing Identification Mark (FIM-A) is added to envelopes by default.

DefaultSize DefaultSize DefaultSize

Returns or sets the default envelope size.

DefaultWidth DefaultWidth DefaultWidth

Returns or sets the default envelope width, in points.

FeedSource FeedSource FeedSource

Returns or sets the paper tray for the envelope.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

RecipientNamefromLeft RecipientNamefromLeft 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 RecipientNamefromTop 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 RecipientPostalfromLeft 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 RecipientPostalfromTop 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 ReturnAddress ReturnAddress

Returns a Range object that represents the envelope return address.

ReturnAddressFromLeft ReturnAddressFromLeft ReturnAddressFromLeft

Returns or sets the distance (in points) between the left edge of the envelope and the return address.

ReturnAddressFromTop ReturnAddressFromTop ReturnAddressFromTop

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

ReturnAddressStyle ReturnAddressStyle ReturnAddressStyle

Returns a Style object that represents the return address style for the envelope.

SenderNamefromLeft SenderNamefromLeft 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 SenderNamefromTop 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 SenderPostalfromLeft 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 SenderPostalfromTop 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 Vertical Vertical

Vertically orients text on Asian envelopes and mailing labels.

Methods

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) 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) 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) Insert2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Insert2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

Options() Options() 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) 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) 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) PrintOut2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) PrintOut2000(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)

Reserved for internal use.

UpdateDocument() UpdateDocument() UpdateDocument()

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

Applies to