addComment

addComment

BASIC / ADVANCED / PREMIUM

Inserts a comment into the PowerPoint presentation.

Description
public addComment($content, $author, $position = array(), $options = array())

This method inserts comments into the PowerPoint presentation.

Parameters

content

Comment content.

author

Comment author.

position

Key Type Description
coordinateX int 10 as default.
coordinateY int 10 as default.

options

Key Type Description
date string strtotime, now as default.
Exceptions

Author doesn't exist.

Code samples

Example #1

The resulting PPTX looks like:

Release notes
  • phppptx 2.0: new method.