Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

Envelope Interface

Represents an envelope.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Public Class nvelopeImplementation
	Implements Envelope
End Class
Dim nvelopeImplementation1 As New nvelopeImplementation()

Public Interface Envelope
public interface Envelope
public interface Envelope

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 method to add an envelope to the specified document. Use the PrintOut method to set the properties of an envelope and print it without adding it to the document.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms