setShrinkToFit #2017
Answered
by
oleibman
thorhammeren
asked this question in
Q&A
setShrinkToFit
#2017
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MarkBaker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Where to put setShrinkToFit() ?
$sheet = $spreadsheet->getActiveSheet();
I set $sheet->getCell("B3")->setShrinkToFit(true);
And i get error :
Fatal error: Call to undefined method PhpOffice\PhpSpreadsheet\Worksheet\Worksheet::setShrinkToFit()
Beta Was this translation helpful? Give feedback.
All reactions