背景图片
函数原型
setBackgroundImage(string $imagePath): self
setBackgroundImageBuffer(string $imageBuffer): selfstring $imagePath
string $imageBuffer
示例
$config = [
'path' => './tests'
];
$excel = new \Vtiful\Kernel\Excel($config);
$excel->fileName('tutorial.xlsx', 'sheet1')
->setBackgroundImage('./assets/logo.png')
->output();Last updated