跳到主要内容

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();

返回文档