set_font_all_attrs
- 设置单元格字体属性
声明
enum ExcelErrorCode set_font_all_attrs(map my_font, int row, int column)
参数
参数名 | 描述 |
---|---|
my_font | 字体属性 map |
row | 单元格行号 |
column | 单元格列号 |
返回值
返回ExcelErrorCode
使用方式
// 设置(1, 1)单元格上的字体属性
mixed excel_error_code7 = excel_obj.set_font_all_attrs({"superscript":true, "italic":true}, 1, 1);
excel_obj.save();