Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_FORMAT > of_set_rotation |
of_set_rotation() method
Set the rotation of the text in a cell.
Syntax
format.of_set_rotation ( style ) |
Parameters
style | The integer whose value is rotation style |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Description
Excel's rotation styles are shown in the following table:
Style | Description |
0 | No rotation |
1 | Letters run from top to bottom |
2 | 90° anticlockwise |
3 | 90° clockwise |
Examples
format.of_set_rotation ( 2 )
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |