Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_FORMAT > of_set_top_color |
of_set_top_color() method
Set the color of top border.
Syntax
format.of_set_top_color ( color ) |
Parameters
color | Integer from 8..63 (index of color. See of_set_custom_color() ) or the string whose value is the color (See valid colors) |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Description
Default border color is black.
Examples
format1.of_set_border ( 1 ) format1.of_set_bottom_color ( 'red' ) format1.of_set_top_color ( 'yellow ) format1.of_set_left_color ( 'green ) format1.of_set_right_color ( 'blue )
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |