تجميد إلغاء تجميد الصفوف والأعمدة

أعمدة التجميد

لتجميد أعمدة ورقة العمل باستخدام Aspose.Cells.GridDesktop ، يرجى اتباع الخطوات التالية:

  • الوصول إلى أي ملفاتورقة عمل
  • اضبط عددأعمدة مجمدة في الورقة عمل
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing the worksheet of the Grid that is currently active
Worksheet sheet = gridDesktop1.GetActiveWorksheet();
// Setting the number of frozen columns to 2
sheet.FrozenCols = 2;

أعمدة غير مجمدة

لإلغاء تجميد أعمدة ورقة العمل باستخدام Aspose.Cells.GridDesktop ، يرجى اتباع الخطوات التالية:

  • الوصول إلى أي ملفاتورقة عمل
  • اضبط عددأعمدة مجمدة في الورقة عمل إلى الصفر (0). سينتج تأثير الأعمدة غير المجمدة
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing the worksheet of the Grid that is currently active
Worksheet sheet = gridDesktop1.GetActiveWorksheet();
// Setting the number of frozen columns to 0 for unfreezing columns
sheet.FrozenCols = 0;

صفوف التجميد

لتجميد صفوف ورقة العمل باستخدام Aspose.Cells.GridDesktop ، يرجى اتباع الخطوات التالية:

  • الوصول إلى أي ملفاتورقة عمل
  • اضبط عددصفوف مجمدة في الورقة عمل
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing the worksheet of the Grid that is currently active
Worksheet sheet = gridDesktop1.GetActiveWorksheet();
// Setting the number of frozen rows to 2
sheet.FrozenRows = 2;

صفوف Un-Freezing

لإلغاء تجميد صفوف ورقة العمل باستخدام Aspose.Cells.GridDesktop ، يرجى اتباع الخطوات التالية:

  • الوصول إلى أي ملفاتورقة عمل
  • اضبط عددصفوف مجمدة في الورقة عمل إلى الصفر (0). سينتج تأثير الصفوف غير المجمدة
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Accessing the worksheet of the Grid that is currently active
Worksheet sheet = gridDesktop1.GetActiveWorksheet();
// Setting the number of frozen rows to 0 for unfreezing rows
sheet.FrozenRows = 0;