在 Php 中显示或隐藏选项卡

Aspose.Cells - 显示或隐藏选项卡

隐藏标签

隐藏选项卡使用Aspose.Cells Java for PHP, 称呼显示隐藏选项卡模块。

PHP代码

 //Instantiating a Workbook object by excel file path

$workbook = new Workbook($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($dataDir + "output.xls");

下载运行代码

下载**隐藏或显示或隐藏选项卡 (Aspose.Cells)**来自以下任何社交编码网站: