Compartir a través de


Envelope.DefaultFaceUp Property

Word Developer Reference

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

Syntax

expression.DefaultFaceUp

expression   A variable that represents a Envelope object.

Example

This example sets envelopes to be fed face up by default. The UpdateDocument method updates the envelope in the active document.

Visual Basic for Applications
  With ActiveDocument.Envelope
    .DefaultFaceUp = True
    .DefaultOrientation = wdCenterPortrait
    .UpdateDocument
End With

This example displays a message telling the user how to feed the envelopes into the printer based on the default setting.

Visual Basic for Applications
  If ActiveDocument.Envelope.DefaultFaceUp = True Then
    MsgBox "Feed envelopes face up."
Else
    MsgBox "Feed envelopes face down."
End If

See Also