SectionDirection Property

Microsoft Word Visual Basic

Show All

SectionDirection Property

       

Returns or sets the reading order and alignment for the specified sections. Read/write WdSectionDirection.

WdSectionDirection can be one of these WdSectionDirection constants.
wdSectionDirectionLtr Displays the section with left alignment and left-to-right reading order.
wdSectionDirectionRtl Displays the section with right alignment and right-to-left reading order.

expression.SectionDirection

expression   Required. An expression that returns a PageSetup object.

Remarks

For more information on using Word with right-to-left languages, see Word features for right-to-left languages.

Example

This example sets the direction of the first section in the active document to right-to-left.

ActiveDocument.Sections(1).PageSetup.SectionDirection = _
    wdSectionDirectionRtl