在 Php 中拆分窗格

Aspose.Cells - 拆分窗格

拆分窗格使用Aspose.Cells Java for PHP 只需调用分割面板模块。

PHP代码

 $saveFormat = new SaveFormat();

//Instantiate a new workbook

//Open a template file

$book = new Workbook($dataDir . "book.xls");

//Set the active cell

$book->getWorksheets()->get(0)->setActiveCell("A20");

//Split the worksheet window

$book->getWorksheets()->get(0)->split();

//Save the excel file

$book->save($dataDir . "book.out.xls", $saveFormat->EXCEL_97_TO_2003);

下载运行代码

下载**拆分窗格 (Aspose.Cells)**来自以下任何社交编码网站: