setRTL

setRTL

BASIC / ADVANCED / PREMIUM

Sets the global right to left language properties of the current Word document.

Description
public setRTL ( array $options )

This method sets the global bidi and rtl properties.

Parameters

The available options include:

bidi

If true (default value) sets global right to left orientation.

rtl

If true (default value) writes all character following the right to left standard rules.

Return values

Void.

Code samples

Example #1

The resulting Word document looks like: