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.
Remarks
Returns 'Permission Denied' for publications that are not envelopes.
Example
This example sets envelope printing options, including the orientation of envelopes. This example assumes the publication is an envelope.
Sub SetEnvelopeOptions()
With Options
.UseEnvelopePrintOptions = True
.UseEnvelopePaperSizes = True
.EnvelopePrintOrientation = pbOrientationLandscape
.EnvelopePrintPlacement = pbPlacementLeft
End With
End Sub