addNotes

addNotes

BASIC / ADVANCED / PREMIUM

Inserts notes into the PowerPoint presentation.

Description
public addNotes($content, $paragraphStyles = array(), $options = array())

This method inserts notes into the PowerPoint presentation.

Parameters

content

String or array of text contents and styles. See addText.

paragraphStyles

Paragraph styles. See addText.

options

Key Type Description
insertMode string

Insert mode if the position contains existing notes:

  • append
  • replace

Default as append.

Exceptions

There must be at least one slide.

Code samples

Example #1

The resulting PPTX looks like:

Release notes
  • phppptx 3.0:
    • new method.