setRtl

setRtl

BASIC / ADVANCED / PREMIUM

Sets the global right to left language properties of the current Excel spreadsheet.

Description
public setRtl($options = array('rtl' => true))

This method sets the global rtl properties.

Parameters

The available options include:

rtl

If true (default value) enables the right to left standard rules.

Code samples

Example #1

The resulting XLSX looks like:

Release notes
  • phpxlsx 1.0:
    • new method.