JavaScript API: addBreak

addBreak

PREMIUM TRIAL / ADVANCED

Adds break.

Note

You are reading the JavaScript API documentation. For the PHP API method please go to addBreak.

Description
addBreak (type: BreakType = "line", options: OptionsBreak = {}): this
Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 15.0:
    • new method.