تخصيص رأس الصف ورأس العمود

تخصيص رأس الصف

لتخصيص رأس أو تسمية صف:

  1. أضف تحكم Aspose.Cells.GridWeb إلى استمارة الويب.
  2. قم بالوصول إلى ورقة العمل في مجموعة GridWorksheetCollection.
  3. قم بتعيين التسمية لأي صف محدد.

** تم تخصيص رؤوس الصف 1 و 2 **

todo:image_alt_text

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing the worksheet that is currently active
GridWorksheet workSheet = GridWeb1.WorkSheets[GridWeb1.ActiveSheetIndex];
// Create custom row header caption.
workSheet.SetRowCaption(1, "Row1");
workSheet.SetRowCaption(2, "Row2");

تخصيص رأس العمود

لتخصيص الرأس أو التسمية لعمود:

  1. أضف تحكم Aspose.Cells.GridWeb إلى استمارة الويب.
  2. قم بالوصول إلى ورقة العمل في مجموعة GridWorksheetCollection.
  3. قم بتعيين التسمية لأي عمود محدد.

** تم تخصيص رؤوس العمود 1 و 2 و 3 **

todo:image_alt_text

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing the worksheet that is currently active
GridWorksheet workSheet = GridWeb1.WorkSheets[GridWeb1.ActiveSheetIndex];
// Creates custom column header caption.
workSheet.SetColumnCaption(0, "Product");
workSheet.SetColumnCaption(1, "Category");
workSheet.SetColumnCaption(2, "Price");