PEAR Manual
Prev |  | Next

# Format::setTextRotation

Format::setTextRotation -- Sets the orientation of the text

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Format::setTextRotation` (integer $angle)`

## Description

Sets the orientation of the text

## Parameter

- `integer $angle` - The rotation angle for the text (clockwise). Possible values are: 0, 90, 270 and -1 for stacking top-to-bottom.

## Note

This function can not be called statically.

## Example

Example 37-1. Using setTextRotation()

Prev | Home | Next
Format::setTextWrap | Up | Format::setNumFormat