Python'de Sekmeleri Görüntüle veya Gizle

Aspose.Cells - Gizlenen Sekmeleri Görüntüle

Sekmeleri Gizleme

kullanarak sekmeleri gizlemek içinYakut için Aspose.Cells Java , Aramasekmeleri göster modül.

Python Kod

 workbook = self.Workbook(self.dataDir + "Book1.xls")

# Hiding the tabs of the Excel file

workbook.getSettings().setShowTabs(False)

# Saving the modified Excel file in default (that is Excel 2003) format

workbook.save(self.dataDir + "output.xls")

\# Print message

print "Tabs are now hidden, please check the output file."

Sekmeleri Görünür Hale Getirmek

Workbook sınıfının setSheetTabBarHidden(false) yöntemiyle sekmeleri görünür yapın.

Python Kod

 # Displaying the tabs of the Excel file

workbook.getSettings().setSowTabs(true)

Çalışan Kodu İndir

İndirmekHello World (Aspose.Cells) aşağıda belirtilen sosyal kodlama sitelerinin herhangi birinden: