set_columns_width_one_by_one
- 逐个设置列宽
声明
array set_columns_width_one_by_one(array sizes, int begin_column, int end_column)
参数
参数名 | 描述 |
---|---|
sizes | 列宽数组 |
begin_column | 起始列号 |
end_column | 中止列号 |
返回值
返回ExcelErrorCode数组
使用方式
// 逐个设置第7到第8列的宽度为50 ,100
mixed excel_error_code10 = excel_obj.set_columns_width_one_by_one([50, 100], 7, 8);
excel_obj.save();