You might want to change the appearance of the text in cell(s) so that the text stands out from the rest. In C1FlexSheet, you can easily format the font of text in a cell by changing the font style, font family, font size, and font color.
SetCellFormat method is used to set the format for the cell in C1FlexSheet.
The following code uses SetCellFormat method to change the font family of the font in a cell:
To change the font size, first you need to set the size limit of the font. The following code uses SetCellFormat method to change the font size after setting the limit:
The following code illustrates the use of SetCellFormat method to change the Font style:
You can create your own color picker using system colors and use its reference in the code to change the font color. The following code can then be used to change the font color: