XL_FITPAGES()

 

Version Ref: Version 6.1.00 (USP 6.0.03)

 

Syntax:

 

 e = XL_FITPAGES([height, [width, [sheet]]])
	Fit the printed area to a specific number of pages both vertically and 
	horizontally.

	Parameters -
		height : Number of pages vertically. A value of "0" or blank will set 
		         the height as necessary.
		width  : Number of pages horizontally. A value of "0" or blank will set 
		         the height as necessary.
		sheet  : Handle of sheet to change mode. Use blank, "0", or "-1" to use
		         the default sheet.
				
	Returns "1" on success and "-1" on error. XL_ERROR() can be called to return
	the last error.