Table of Contents

Struct OdfSplitPanes

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Represents split pane settings for a worksheet in non-frozen mode. 表示工作表分割窗格設定(非凍結模式)。

public readonly struct OdfSplitPanes : IEquatable<OdfSplitPanes>
Implements
Inherited Members

Constructors

OdfSplitPanes(int, int)

Represents split pane settings for a worksheet in non-frozen mode. 表示工作表分割窗格設定(非凍結模式)。

public OdfSplitPanes(int rows, int columns)

Parameters

rows int

The row index of the horizontal split line. / 水平分割線所在的列索引。

columns int

The column index of the vertical split line. / 垂直分割線所在的欄索引。

Properties

Columns

Gets the column index of the vertical split line. 取得垂直分割線所在的欄索引。

public int Columns { get; }

Property Value

int

IsSplit

Gets whether any split pane setting exists. 取得是否有任何分割窗格設定。

public bool IsSplit { get; }

Property Value

bool

Rows

Gets the row index of the horizontal split line. 取得水平分割線所在的列索引。

public int Rows { get; }

Property Value

int

Methods

Equals(OdfSplitPanes)

Performs equals. 執行 Equals。

public bool Equals(OdfSplitPanes other)

Parameters

other OdfSplitPanes

Returns

bool

Equals(object?)

Performs equals. 執行 Equals。

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

Gets hash code. 取得 Hash Code。

public override int GetHashCode()

Returns

int

Operators

operator ==(OdfSplitPanes, OdfSplitPanes)

Compares two OdfSplitPanes instances for equality. 比較兩個 OdfSplitPanes 執行個體是否相等。

public static bool operator ==(OdfSplitPanes left, OdfSplitPanes right)

Parameters

left OdfSplitPanes
right OdfSplitPanes

Returns

bool

operator !=(OdfSplitPanes, OdfSplitPanes)

Compares two OdfSplitPanes instances for inequality. 比較兩個 OdfSplitPanes 執行個體是否不相等。

public static bool operator !=(OdfSplitPanes left, OdfSplitPanes right)

Parameters

left OdfSplitPanes
right OdfSplitPanes

Returns

bool