Satırları ve Sütunları Dondurmak/Kaldırmak
Sütunları Dondurmak
Aspose.Cells.GridDesktop kullanarak bir çalışma sayfasının sütunlarını dondurmak için lütfen aşağıdaki adımları izleyin:
- Herhangi bir istenen Çalışma Sayfası‘na erişin
- Çalışma Sayfasında dondurulmuş Sütun sayısını ayarlayın
// 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; |
Sütunların Dondurulmasını Kaldırmak
Aspose.Cells.GridDesktop kullanarak bir çalışma sayfasının sütunlarını dondurmak için lütfen aşağıdaki adımları izleyin:
- Herhangi bir istenen Çalışma Sayfası‘na erişin
- Çalışma Sayfasında Dondurulmuş Sütunların sayısını Sıfır (0) olarak ayarlayın. Bu, sütunların çözülmemiş etkisini meydana getirecektir.
// 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; |
Satırları Dondurma
Aspose.Cells.GridDesktop kullanarak bir çalışma sayfasının satırlarını dondurmak için lütfen aşağıdaki adımları izleyin:
- Herhangi bir istenen Çalışma Sayfası‘na erişin
- Çalışma Sayfasında Dondurulmuş Satırların sayısını ayarlayın
// 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; |
Satırları Çözme
Aspose.Cells.GridDesktop kullanarak bir çalışma sayfasının satırlarını çözmek için lütfen aşağıdaki adımları izleyin:
- Herhangi bir istenen Çalışma Sayfası‘na erişin
- Çalışma Sayfasında Dondurulmuş Satırlların sayısını Sıfır (0) olarak ayarlayın. Bu, sütunların çözülmemiş etkisini meydana getirecektir
// 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; |