Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_FORMAT > of_set_text_wrap |
of_set_text_wrap() method
Set the text wrap property.
Syntax
format.of_set_text_wrap ( option ) |
Parameters
option | A boolean value that controls whether text is wrapped |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Description
Excel will adjust the height of the row to accommodate the wrapped text. A similar effect can be obtained without newlines using the of_set_align ( 'vjustify' ) method.
Examples
format.of_set_text_wrap( true )
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |