XL_FONT()

 

Version Ref: 6.1 (USP 6.0.02)

 

Syntax:

 

 handle = XL_FONT(font, [size [, attr [, color]]])
	Create a new font to use with the XLSX document.

	Parameters -
		font  : Name of the font to use.
		size  : Point size of the font. e.g. "11" "8.42" "12", default "11.0"
		attr  : List of attributes to apply to this font, separated by commas.
		        e.g. "bold,italic"
			    Values:
				    "bold"
				    "italic"
				    "underline"
				    "strike"
				    "unlocked"
				    "hidden"
				    "wrap"
				    "shrink"
				    "fill"
				    "left"
				    "center"
				    "right"
				    "justify"
				    "top"
				    "bottom"
				    "vjustify"
				    "vcenter"
		color : The RGB Hex value to set the font color.
		        e.g. "000000" "ADD8E6"

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