Click or drag to resize
NanoXLSX

WorksheetSetColumnWidth(String, Single) Method

Sets the width of the passed column address

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.7+3223c8b99fcd3402b4ae016daa480abac16f8a9f
Syntax
C#
public void SetColumnWidth(
	string columnAddress,
	float width
)

Parameters

columnAddress  String
Column address (A - XFD)
width  Single
Width from 0 to 255.0
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException:
a) If the passed column address is out of range
b) if the column width is out of range (0 - 255.0)
See Also