Options.DefaultTextFlowDirection property (Publisher)

Returns or sets a PbDirectionType constant that represents a global Microsoft Publisher option, indicating whether text flows from left to right or from right to left in a publication. Read/write.

Syntax

expression.DefaultTextFlowDirection

expression A variable that represents an Options object.

Return value

PbDirectionType

Remarks

The DefaultTextFlowDirection property value can be one of the PbDirectionType constants declared in the Publisher type library.

This property generates an error if you are not running a bi-directional-enabled version of 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.