XL_FILL()

 

Version Ref: 6.1 (USP 6.0.02)

 

Syntax:

 

 handle = XL_FILL(bg [, fg [, fill]])
	Create a new fill to use with the XLSX document.

	Parameters -
		bg   : The RGB Hex value to set the background fill color.
		       e.g. "000000" "ADD8E6"
		fg   : The RGB Hex value to set the foreground fill color.
		       e.g. "000000" "ADD8E6"
		fill : The fill pattern to use, defaults to "solid" fill. Value must be
			   one of the following.
			   "solid"
			   "medium_gray"
			   "dark_gray"
			   "light_gray"
			   "dark_horizontal"
			   "dark_vertical"
			   "dark_down"
			   "dark_up"
			   "dark_grid"
			   "dark_trellis"
			   "light_horizontal"
			   "light_vertical"
			   "light_down"
			   "light_up"
			   "light_grid"
			   "light_trellis"
			   "gray_125"
			   "gray_0625"

	Returns a handle to a new fill object on successs and "-1" on error.
	XL_ERROR() can be called to return the last error.