Click or drag to resize
PicoXLSX

WorksheetSetColumnDefaultStyle(Int32, Style) Method

Sets the default column style of the passed column number (zero-based)

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
Syntax
C#
public Style SetColumnDefaultStyle(
	int columnNumber,
	Style style
)

Parameters

columnNumber  Int32
Column number (zero-based, from 0 to 16383)
style  Style
Style to set as default. If null, the style is cleared

Return Value

Style
Assigned style or null if cleared
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException:
a) If the passed column number is out of range
b) if the column width is out of range (0 - 255.0)
See Also