EnvelopePrintOrientation Property [Publisher 2003 VBA Language Reference]
PbOrientationType
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
Applies to | Options Object