Struct CellArea
Struct CellArea
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
セルの領域を表します。
public struct CellArea : IComparable
実装
継承メンバー
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
例
// セルの領域を作成
CellArea ca = new CellArea();
ca.StartRow = 0;
ca.EndRow = 0;
ca.StartColumn = 0;
ca.EndColumn = 0;
' セルの領域を作成
Dim ca As CellArea = New CellArea()
ca.StartRow = 0
ca.EndRow = 0
ca.StartColumn = 0
ca.EndColumn = 0
フィールド
EndColumn
この領域の終了列を取得または設定します。
public int EndColumn
フィールドの値
EndRow
この領域の終了行を取得または設定します。
public int EndRow
フィールドの値
StartColumn
この領域の開始列を取得または設定します。
public int StartColumn
フィールドの値
StartRow
この領域の開始行を取得または設定します。
public int StartRow
フィールドの値
メソッド
CompareTo(object)
2つのCellAreaオブジェクトを左上隅に従って比較します。
public int CompareTo(object obj)
パラメータ
obj
object
戻り値
2つのコーナーが異なる行にある場合は、それらの行インデックスを比較します。そうでない場合は、列インデックスを比較します。 2つのコーナーが同じである場合、0が返されます。
CreateCellArea(int, int, int, int)
セルの領域を作成します。
public static CellArea CreateCellArea(int startRow, int startColumn, int endRow, int endColumn)
パラメータ
startRow
int
開始行。
startColumn
int
開始列。
endRow
int
終了行。
endColumn
int
終了列。
戻り値
Aspose.Cells.CellAreaを返します。
CreateCellArea(string, string)
セルの領域を作成します。
public static CellArea CreateCellArea(string startCellName, string endCellName)
パラメータ
startCellName
string
範囲の左上のセル。
endCellName
string
範囲の右下のセル。
戻り値
Aspose.Cells.CellAreaを返します。
ToString()
現在のセル領域オブジェクトを表す文字列を返します。
public override string ToString()