This method creates a new presentation.
Defined in
Syntax
public Presentation addPresentation(String template, boolean newTemplate, boolean visible) throws SymphonyException
Parameters
String template
Specifies the name of the template to be used for the new presentation. For example on Microsoft® Windows®, the format is D:\\template.otp. On Linux®, the format is /home/me/template.otp. If the template file does not exists, this method throws an exception. If no template is used, the value of this property is empty string, for example: presentations.addPresentation("",false,true).
boolean newTemplate
When a template is used, this parameter specifies true to creates a new untitled presentation based on the template, and it specifies false to load the template for editing. If no template is used, both true and false create a new untitled presentation.
boolean visible
Specifies true to open the new presentation in a visible window or tab, or false to open the new presentation in invisible mode.
See examples