如何在PHPPresentation中加下划线。我只想给我的一些文字画一个下划线。
你们谁能让我知道这件事
发布于 2018-08-24 20:13:08
别管我之前的评论,这是可以根据文档完成的。
$element->getFont()->setUnderline(Font::DASHED); // Pick a style
样式和API在这里:https://phpoffice.github.io/PHPPresentation/docs/master/classes/PhpOffice.PhpPresentation.Style.Font.html#method_setUnderline
https://stackoverflow.com/questions/52004156
相似问题