Class ColumnRangeSettings
- Namespace
- SheetStream
- Assembly
- SheetStream.dll
Applies settings to a contiguous range of columns. Obtain through Columns(int, int). Each call fans out to the individual ColumnSettings; the writer later coalesces identical neighbours back into ranges.
public sealed class ColumnRangeSettings
- Inheritance
-
ColumnRangeSettings
- Inherited Members
Properties
From
First column of the range (1-based, inclusive).
public int From { get; }
Property Value
To
Last column of the range (1-based, inclusive).
public int To { get; }
Property Value
Methods
Hide()
Hides every column in the range.
public ColumnRangeSettings Hide()
Returns
SetOutlineLevel(int)
Groups the range at the given outline level (1 to 7).
public ColumnRangeSettings SetOutlineLevel(int level)
Parameters
levelint
Returns
SetStyle(CellStyle)
Applies a default style to every column in the range.
public ColumnRangeSettings SetStyle(CellStyle style)
Parameters
styleCellStyle
Returns
SetWidth(double)
Sets the width of every column in the range. See SetWidth(double).
public ColumnRangeSettings SetWidth(double width)
Parameters
widthdouble