跳到主要内容

set_column_width

  • 设置列宽

声明

enum ExcelErrorCode set_column_width(float size, int column)

参数

参数名描述
size指定列宽
column指定列号

返回值

返回ExcelErrorCode

使用方式

// 设置第3列的宽度为100
mixed excel_error_code3 = excel_obj.set_column_width(100, 3);
excel_obj.save();

返回文档