DocumentBase.Envelope Property

Definition

Gets an Envelope that represents envelope functionality and the envelope in the document.

public Microsoft.Office.Interop.Word.Envelope Envelope { get; }

Property Value

Envelope

An Envelope that represents envelope functionality and the envelope in the document.

Examples

The following code example sets the default envelope size to C4 (229 x 324 mm). To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentEnvelope()
{
    this.Envelope.DefaultSize = "C4";
}
Private Sub DocumentEnvelope()
    Me.Envelope.DefaultSize = "C4"
End Sub

Applies to