Item
محتويات
[
يخفي
]Cells indexer (1 of 2)
يحصل على ملفCell
عنصر في فهرس صف الخلية المحدد وفهرس العمود.
public Cell this[int row, int column] { get; }
معامل | وصف |
---|---|
row | فهرس الصف. |
column | فهرس العمود. |
قيمة الإرجاع
الCell
هدف.
أمثلة
[C#]
Workbook excel = new Workbook();
Cells cells = excel.Worksheets[0].Cells;
Cell cell = cells[0, 0]; // الحصول على الخلية عند "A1"
[Visual Basic]
Dim excel as Workbook = New Workbook()
Dim cells As Cells = excel.Worksheets(0).Cells
Dim cell As Cell = cells(0,0) 'Gets the cell at "A1"
أنظر أيضا
- class Cell
- class Cells
- مساحة الاسم Aspose.Cells
- المجسم Aspose.Cells
Cells indexer (2 of 2)
يحصل على ملفCell
عنصر في اسم الخلية المحدد.
public Cell this[string cellName] { get; }
معامل | وصف |
---|---|
cellName | اسم الخلية ، بما في ذلك حرف العمود ورقم الصف ، على سبيل المثال A5. |
قيمة الإرجاع
أCell
هدف
أمثلة
[C#]
Workbook excel = new Workbook();
Cells cells = excel.Worksheets[0].Cells;
Cell cell = cells["A1"]; // الحصول على الخلية عند "A1"
[Visual Basic]
Dim excel as Workbook = New Workbook()
Dim cells As Cells = excel.Worksheets(0).Cells
Dim cell As Cell = cells("A1") 'Gets the cell at "A1"
أنظر أيضا
- class Cell
- class Cells
- مساحة الاسم Aspose.Cells
- المجسم Aspose.Cells