addWordFragment

addWordFragment

TRIAL / ADVANCED / PREMIUM

Inserts a WordFragment into the Word document.

Description
public addWordFragment ( WordFragment $wordFragment )

This method allows to include a WordFragment object in the Word document.

Parameters

wordFragment

WordFragment object.

Code samples

Example #1

Release notes
  • phpdocx 10.0:
    • new method.