PhpSpreadSheet : border thickness

1.4k Views Asked by At

I generate a sheet with PhpSpreadSheet. I use BORDER_THIN which makes 1,00 pt borders. Is it a way to get 0,5 pt borders ?

2

There are 2 best solutions below

0
Zakolis On

so BORDER_HAIR makes 0,5 pt borders !

0
Collie-IT Anne K. Frey On

If you will use the border on tcpdf PDF there is a problem in the pdf print library.

Look to this github thread https://github.com/PHPOffice/PhpSpreadsheet/issues/1164