JavaScript API: replaceVariableWordMl

replaceVariableWordMl

PREMIUM TRIAL / ADVANCED

Replaces text variables with WordML.

Note

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

Description
replaceVariableWordMl (variables: Map, target: Target = "document", options: OptionsReplaceVariableWordMl = {}): this
Code samples

Example #1

The resulting Word document looks like:

Release notes
  • phpdocx 15.0:
    • new method.