Struct CellArea

Struct CellArea

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

מייצג אזור של תאים.

public struct CellArea : IComparable

מיישם

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

ערך השדה

int

EndRow

מקבל או קובע את שורת הסוף של אזור זה.

public int EndRow

ערך השדה

int

StartColumn

מקבל או קובע את עמודת ההתחלה של אזור זה.

public int StartColumn

ערך השדה

int

StartRow

מקבל או קובע את שורת ההתחלה של אזור זה.

public int StartRow

ערך השדה

int

שיטות

CompareTo(object)

משווה בין שני אובייקטי CellArea לפי הפינה השמאלית-עליונה שלהם.

public int CompareTo(object obj)

פרמטרים

obj object

מחזיר

int

אם שתי הפינות נמצאות בשורות שונות, אז משווים את אינדקס השורה שלהן. אחרת משווים את אינדקס העמודה שלהן. אם שתי הפינות זהות, אז יוחזר 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

עמודת הסוף.

מחזיר

CellArea

מחזיר Aspose.Cells.CellArea.

CreateCellArea(string, string)

יוצר אזור תאים.

public static CellArea CreateCellArea(string startCellName, string endCellName)

פרמטרים

startCellName string

התא השמאלי-עליון של הטווח.

endCellName string

התא הימני-תחתון של הטווח.

מחזיר

CellArea

מחזיר Aspose.Cells.CellArea.

ToString()

מחזיר מחרוזת המייצגת את אובייקט אזור התאים הנוכחי.

public override string ToString()

מחזיר

string

 Ελληνικά