Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_WORKSHEET > of_hide_gridlines |
of_hide_gridlines() method
Hide the gridlines on the screen and printed page. Gridlines are the lines that divide the cells on a worksheet. Screen and printed gridlines are turned on by default in an Excel worksheet. If you have defined your own cell borders you may wish to hide the default gridlines.
Syntax
Worksheet.of_hide_gridlines ( Option ) |
Parameters
Option | The following values of option are valid: 0 : Don't hide gridlines 1 : Hide printed gridlines only 2 : Hide screen and printed gridlines |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Examples
worksheet.of_hide_gridlines ( 2 )
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |