2024 年日本 PHP 研討會

Vtiful\Kernel\Excel::mergeCells

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel::mergeCellsVtiful\Kernel\Excel 合併儲存格

說明

public Vtiful\Kernel\Excel::mergeCells(字串 $scope, 字串 $data)

合併儲存格。

參數

scope

儲存格起始和結束座標字串

data

字串資料

回傳值

Vtiful\Kernel\Excel 實例

範例

範例 #1 範例

<?php
$config
= [
'path' => './tests'
];

$excel = new \Vtiful\Kernel\Excel($config);

$excel->fileName("test.xlsx")
->
mergeCells('A1:C1', 'Merge cells')
->
output();
新增註解

使用者貢獻的註解

此頁面沒有使用者貢獻的註解。
To Top