Returns or sets a PbOrientationType constant that represents the orientation used to print envelopes. Read/write.
PbOrientationType can be one of these PbOrientationType constants. |
pbOrientationLandscape |
pbOrientationPortrait |
expression.EnvelopePrintOrientation
expression Required. An expression that returns one of the objects in the Applies To list.
This example sets envelope printing options, including the orientation of envelopes.
Sub SetEnvelopeOptions()
With Options
.UseEnvelopePrintOptions = True
.UseEnvelopePaperSizes = True
.EnvelopePrintOrientation = pbOrientationLandscape
.EnvelopePrintPlacement = pbPlacementLeft
End With
End Sub