Presentation
Contents
[
Hide
]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
Name | Type | Description |
---|---|---|
loadOptions | LoadOptions | Additional load options. |
Presentation(InputStream stream) constructor
This constructor is the primary mechanism for reading an existing Presentation.
Parameters
Name | Type | Description |
---|---|---|
stream | InputStream | Input stream. |
Presentation(InputStream stream, LoadOptions loadOptions) constructor
This constructor is the primary mechanism for reading an existing Presentation.
Parameters
Name | Type | Description |
---|---|---|
stream | InputStream | Input stream. |
loadOptions | LoadOptions | Additional load options. |
Presentation(String file) constructor
This constructor gets a source file path from which the contents of the Presentation are read.
Parameters
Name | Type | Description |
---|---|---|
file | String | Input file. |
Exception
Exception | Condition |
---|---|
com.aspose.ms.System.ArgumentException | Thrown 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
Name | Type | Description |
---|---|---|
file | String | Input file. |
loadOptions | LoadOptions | Additional load options. |
Exception
Exception | Condition |
---|---|
ArgumentException | Thrown when input file has zero length |