Back to Phpword

Text breaks

docs/usage/elements/textbreak.md

1.4.0385 B
Original Source

Text breaks

Text breaks are empty new lines. To add text breaks, use the following syntax. All parameters are optional.

php
<?php

$section->addTextBreak([$breakCount], [$fontStyle], [$paragraphStyle]);