Struct CellArea

Struct CellArea

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

يمثل منطقة من الخلايا.

public struct CellArea : IComparable

Implements

IComparable

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Examples


//إنشاء منطقة خلايا
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

Fields

EndColumn

يحصل على أو يحدد العمود النهائي لهذه المنطقة.

public int EndColumn

Field Value

int

EndRow

يحصل على أو يحدد الصف النهائي لهذه المنطقة.

public int EndRow

Field Value

int

StartColumn

يحصل على أو يحدد العمود الابتدائي لهذه المنطقة.

public int StartColumn

Field Value

int

StartRow

يحصل على أو يحدد الصف الابتدائي لهذه المنطقة.

public int StartRow

Field Value

int

Methods

CompareTo(object)

يقارن بين كائنين من نوع CellArea وفقًا لزاويتهما العلوية اليسرى.

public int CompareTo(object obj)

Parameters

obj object

Returns

int

إذا كانت الزاويتان في صفوف مختلفة، فقم بمقارنة فهرس صفهما. بخلاف ذلك، قارن فهرس عمودهما. إذا كانت الزاويتان متطابقتين، فسيتم إرجاع 0.

CreateCellArea(int, int, int, int)

ينشئ منطقة خلايا.

public static CellArea CreateCellArea(int startRow, int startColumn, int endRow, int endColumn)

Parameters

startRow int

الصف الابتدائي.

startColumn int

العمود الابتدائي.

endRow int

الصف النهائي.

endColumn int

العمود النهائي.

Returns

CellArea

يرجع Aspose.Cells.CellArea.

CreateCellArea(string, string)

ينشئ منطقة خلايا.

public static CellArea CreateCellArea(string startCellName, string endCellName)

Parameters

startCellName string

الخلية العلوية اليسرى من النطاق.

endCellName string

الخلية السفلية اليمنى من النطاق.

Returns

CellArea

يرجع Aspose.Cells.CellArea.

ToString()

يرجع سلسلة تمثل كائن منطقة الخلايا الحالي.

public override string ToString()

Returns

string

 عربي