klyn.io.xlsx.Worksheet.setColumn
method
public setColumn(range as String, width as Double) as Void:
Description

Sets the width of a column range.

Parameters
  • range Column range such as `A:A` or `A:C`.
  • width Excel column width.
Throws
  • XlsxException if the range is invalid.
Example
sheet = Worksheet("Data")
sheet.setColumn("A:A", 18.5)