openPresentation method

This method opens a presentation.

Defined in

Presentations

Syntax

public Presentation openPresentation(String fileName, boolean visible) throws SymphonyException

Parameters

String fileName

Specifies the full file name and path of the presentation to be opened. For example on Microsoft® Windows®, the format is D:\\test.odp . On Linux®, the format is /home/me/test.odp. If the presentation does not exist or is an unsupported file type, this method throws an exception.

boolean visible

Specifying true opens the presentation in a visible window or tab. Specifying false opens the presentation in invisible mode.

Return Value

presentation

A Presentation object that represents the opened presentation.

Usage

This method can open .odp, .otp, and .ppt files.

See examples

Example: openPresentation method