JavaScript API: addTextBox

addTextBox

PREMIUM TRIAL / ADVANCED

Adds text box.

Note

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

Description
addTextBox (content: string | (Element.OptionsText | WordFragment)[], options: Element.OptionsTextBox = {}): this
Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 16.0:
    • new method.