Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_FORMAT > of_set_size |
of_set_size() method
Set the font size.
Syntax
format.of_set_size ( fontsize ) |
Parameters
Fontsize | The integer whose value is the font size |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs. If argument value is NULL, of_create returns NULL.
Description
Default font size is 10.
Excel can only display fonts that are installed on the system that it is running on. Therefore it is best to use the fonts that come as standard such as 'Arial', 'Times New Roman' and 'Courier New'.
Examples
format.of_set_size ( 14 )
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |