Quantcast
Channel: Active questions tagged strikethrough - Stack Overflow
Viewing all articles
Browse latest Browse all 88

PhpSpreadsheet: How to check if a cell has a strikethrough?

$
0
0

How to check in PhpSpreadsheet if a cell has a strikethrough ?

Tried this one:

    $cell0 = $sheet->getCell('C73');    $isStriked = $cell0->getStyle()->getFont->getStrikethrough();    print_r($isStriked);

doesn't work whether the target cell has a strikethrough or not it gives a blank value...


Viewing all articles
Browse latest Browse all 88

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>