| Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
| Reference > N_XLS_FORMAT > of_set_script |
of_set_script() method
Set the superscript/subscript property of the font.
Syntax
| format.of_set_script ( style ) |
Parameters
| style | The integer whose value is script style |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Description
Excel's script styles are shown in the following table:
| Style | Description |
| 0 | Normal |
| 1 | Superscript |
| 2 | Subscript |
Examples
format.of_set_script ( 1 )
| © 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |