The documents of the finer-grained format-setting actions	The document of the original SetFormat action
SetFont:
args: "(source: str, font: str)"
args explanation:
source (string): The range to set font.
font (string): The font to set.
usage: Set font for the source range.
example:
# Example 1: Set font for the range (A1:B6) to 'Arial'.
SetFont (source="Sheet!!A1:B6", font="Arial")
# After implementing this action, the range (A1:B6) will be set to 'Arial' font.
SetFontSize:
args: "(source: str, fontSize: float)"
args explanation:
...
usage: Set font size for the source range.
example:
# Example 1: Set font size for the range (A1:B6) to 20.
SetFontSize (source="Sheet!!A1:B6", fontSize=20)
# After implementing this action, the range (A1:B6) will be set to 20 font size.
SetFontColor:
args: "(source: str, color: str)"
args explanation:
...
usage: Set font color for the source range.	SetFormat:
example:	args: "(source: str, font: str = None, fontSize: float = None, color: str = None, fillColor: int = None, bold: bool = None, talic: bool = None, underline: bool = None, horizontalAlignment: str = None)"
# Example 1: Set font color for the range (A1:B6) to 'red'.
SetFontColor (source="Sheet!!A1:B6", color="red")	args explanation:
# After implementing this action, the range (A1:B6) will be set to 'red' font color.	source (string): The range to set format.
SetFillColor:	font (string): The font to set.
args: "(source: str, fillColor: str)"	fontSize (float): The font size to set.
# After implementing this action, the range (A1:B6) will be set to 'red'.	color (string): The color to set. It can be 'black', 'white', 'red', 'green', 'blue', 'yellow', 'magenta', 'cyan', 'dark_red', 'dark_green'.
...
usage: Set fill color for the source range.	fillColor (string): The fill color to set. It can be 'black', 'white', 'red', 'green', 'blue', 'yellow', 'magenta', 'cyan', 'dark_red', 'dark_green'.
example:	bold (bool): Whether to set bold. True means bold, False means not bold.
# Example 1: Set fill color for the range (A1:B6) to 'red'.	talic (bool): Whether to set talic. True means talic, False means not talic.
SetFillColor (source="Sheet!!A1:B6", fillColor="red")	underline (bool): Whether to set underline. True means underline, False means not underline.
# After implementing this action, the range (A1:B6) will be set to 'red' fill color.	horizontalAlignment (string): The horizontal alignment to set. It can be 'left', 'center', 'right'.
SetBold:
args: "(source: str, bold: bool)"	usage: Set format for the source range. If you want to set data type, please use 'SetDataType' API.
# After implementing this action, the range (A1:B6) will be set to italic.	example:
...
example:	# Example 1: Write bold text "Summer sales ($)" with blue fill color and white text color in A1.
# Example 1: Set bold for the range (A1:B6).	Write("Sheet!!A1","Summer sales ($)")
SetBold (source="Sheet!!A1:B6", bold=True)	SetFormat("Sheet!!A1", bold=True, fillColor="blue", color="white")
# After implementing this action, the range (A1:B6) will be set to bold.	# After implementing this action, the cell A1 will contain bold text "Summer sales ($)" with blue fill color and white text color.
SetItalic:	# Example 2: Adjust column C to Arial font with underline.
args: "(source: str, italic: bool)"	SetFormat("Sheet!!C:C", font="Arial", underline=True)
...
example:	# After implementing this action, the column C will be adjusted to Arial font with underline.
# Example 1: Set italic for the range (A1:B6).
SetItalic (source="Sheet!!A1:B6", italic=True)
# After implementing this action, the range (A1:B6) will be set to italic.
SetUnderline:
args: "(source: str, underline: bool)"	# After implementing this action, the column C will be adjusted to Arial font with underline.
# After implementing this action, the range (A1:B6) will be set to underline.
SetHorizontalAlignment:
args: "(source: str, horizontalAlignment: str)"	# After implementing this action, the column C will be adjusted to Arial font with horizontal alignment.
# After implementing this action, the range (A1:B6) will be set to horizontal alignment for the source range.
SetHorizontalAlignment (source="Sheet!!A1:B6", horizontalAlignment="left")
example:	# Example 1: Set horizontal alignment for the range (A1:B6) to 'left'.
# After implementing this action, the range (A1:B6) will be set to 'left' horizontal alignment.