Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_WORKSHEET > of_set_zoom |
of_set_zoom() method
Set the worksheet zoom factor in the range 10 <= scale <= 400.
Syntax
worksheet.of_set_zoom ( scale ) |
Parameters
scale | The unsigned integer whose value is the zoom factor. Zoom factors in the range 10 <= scale <= 400 are valid |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Description
The default zoom factor is 100.
Note, of_set_zoom() does not affect the scale of the printed page. For that you should use of_set_print_scale().
Examples
worksheet.of_set_zoom ( 200 )
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |