Presentation

Presentation() constructor

This constructor creates new presentation from scratch. Created presentation has one empty slide.


Presentation(LoadOptions loadOptions) constructor

This constructor creates new presentation from scratch. Created presentation has one empty slide.

Parameters

NameTypeDescription
loadOptionsLoadOptionsAdditional load options.

Presentation(InputStream stream) constructor

This constructor is the primary mechanism for reading an existing Presentation.

Parameters

NameTypeDescription
streamInputStreamInput stream.

Presentation(InputStream stream, LoadOptions loadOptions) constructor

This constructor is the primary mechanism for reading an existing Presentation.

Parameters

NameTypeDescription
streamInputStreamInput stream.
loadOptionsLoadOptionsAdditional load options.

Presentation(String file) constructor

This constructor gets a source file path from which the contents of the Presentation are read.

Parameters

NameTypeDescription
fileStringInput file.

Exception

ExceptionCondition
com.aspose.ms.System.ArgumentExceptionThrown when input file has zero length

Presentation(String file, LoadOptions loadOptions) constructor

This constructor gets a source file path from which the contents of the Presentation are read.

Parameters

NameTypeDescription
fileStringInput file.
loadOptionsLoadOptionsAdditional load options.

Exception

ExceptionCondition
ArgumentExceptionThrown when input file has zero length