DefaultPubDirection Property

Microsoft Publisher Visual Basic

constant that represents the default direction in which text flows when a new publication is created. Read/write.

PbDirectionType can be one of these PbDirectionType constants.
pbDirectionLeftToRight
pbDirectionRightToLeft

expression.DefaultPubDirection

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

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