Table of Contents

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

int

To

Last column of the range (1-based, inclusive).

public int To { get; }

Property Value

int

Methods

Hide()

Hides every column in the range.

public ColumnRangeSettings Hide()

Returns

ColumnRangeSettings

SetOutlineLevel(int)

Groups the range at the given outline level (1 to 7).

public ColumnRangeSettings SetOutlineLevel(int level)

Parameters

level int

Returns

ColumnRangeSettings

SetStyle(CellStyle)

Applies a default style to every column in the range.

public ColumnRangeSettings SetStyle(CellStyle style)

Parameters

style CellStyle

Returns

ColumnRangeSettings

SetWidth(double)

Sets the width of every column in the range. See SetWidth(double).

public ColumnRangeSettings SetWidth(double width)

Parameters

width double

Returns

ColumnRangeSettings