Options.DefaultPubDirection property (Publisher)
Returns or sets a PbDirectionType constant that represents the default direction in which text flows when a new publication is created. Read/write.
Syntax
expression.DefaultPubDirection
expression A variable that represents an Options object.
Return value
PbDirectionType
Remarks
The DefaultPubDirection property value can be one of the PbDirectionType constants declared in the Microsoft Publisher type library.
This property generates an error if you are not running a bi-directional-enabled version of Microsoft Publisher (for example, Arabic).
Example
This example sets the default direction for new publications and text flow in a bi-directional-enabled version of Publisher.
Sub SetDefaultDirection()
With Options
.DefaultPubDirection = pbDirectionRightToLeft
.DefaultTextFlowDirection = pbDirectionRightToLeft
End With
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.