Release 1.6.1 29 June 2005 |
Developer's reference |
![]() |
Reference > N_XLS_WORKSHEET > of_set_margin_right |
of_set_margin_right() method
Set the right margin of worksheet's printed page.
Syntax
worksheet.of_set_margin_right ( margin ) |
Parameters
margin | a double whose value is the margin in inches |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Description
This method take a distance in inches as a parameter.
Note: 1 inch = 25.4mm.
The default right margin is 0.75 inch.
Examples
worksheet.of_set_margin_right ( 1.00 ) // set the right margin 1 inch
© 2003-2005 Desta, Ltd. All rights reserved. | SupportDesk |