Save()
IPresentation::Save(System::String, Export::SaveFormat) method
Saves all slides of a presentation to a file with the specified format.
virtual void Aspose::Slides::IPresentation::Save(System::String fname, Export::SaveFormat format)=0
Arguments
Parameter | Type | Description |
---|---|---|
fname | System::String | Path to the created file. |
format | Export::SaveFormat | Format of the exported data. |
IPresentation::Save(System::SharedPtr<System::IO::Stream>, Export::SaveFormat) method
Saves all slides of a presentation to a stream in the specified format.
virtual void Aspose::Slides::IPresentation::Save(System::SharedPtr<System::IO::Stream> stream, Export::SaveFormat format)=0
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | Output stream. |
format | Export::SaveFormat | Format of the exported data. |
IPresentation::Save(System::String, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>) method
Saves all slides of a presentation to a file with the specified format and with additional options.
virtual void Aspose::Slides::IPresentation::Save(System::String fname, Export::SaveFormat format, System::SharedPtr<Export::ISaveOptions> options)=0
Arguments
Parameter | Type | Description |
---|---|---|
fname | System::String | Path to the created file. |
format | Export::SaveFormat | Format of the exported data. |
options | System::SharedPtr<Export::ISaveOptions> | Additional format options. |
IPresentation::Save(System::SharedPtr<System::IO::Stream>, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>) method
Saves all slides of a presentation to a stream in the specified format and with additional options.
virtual void Aspose::Slides::IPresentation::Save(System::SharedPtr<System::IO::Stream> stream, Export::SaveFormat format, System::SharedPtr<Export::ISaveOptions> options)=0
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | Output stream. |
format | Export::SaveFormat | Format of the exported data. |
options | System::SharedPtr<Export::ISaveOptions> | Additional format options. |
IPresentation::Save(System::String, System::ArrayPtr<int32_t>, Export::SaveFormat) method
Saves specified slides of a presentation to a file with the specified format.
virtual void Aspose::Slides::IPresentation::Save(System::String fname, System::ArrayPtr<int32_t> slides, Export::SaveFormat format)=0
Arguments
Parameter | Type | Description |
---|---|---|
fname | System::String | Path to the created file. |
slides | System::ArrayPtr<int32_t> | Array with slide positions, starting from 1. |
format | Export::SaveFormat | Format of the exported data. |
IPresentation::Save(System::String, System::ArrayPtr<int32_t>, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>) method
Saves specified slides of a presentation to a file with the specified format.
virtual void Aspose::Slides::IPresentation::Save(System::String fname, System::ArrayPtr<int32_t> slides, Export::SaveFormat format, System::SharedPtr<Export::ISaveOptions> options)=0
Arguments
Parameter | Type | Description |
---|---|---|
fname | System::String | Path to the created file. |
slides | System::ArrayPtr<int32_t> | Array with slide positions, starting from 1. |
format | Export::SaveFormat | Format of the exported data. |
options | System::SharedPtr<Export::ISaveOptions> | Additional format options. |
IPresentation::Save(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, Export::SaveFormat) method
Saves specified slides of a presentation to a stream in the specified format.
virtual void Aspose::Slides::IPresentation::Save(System::SharedPtr<System::IO::Stream> stream, System::ArrayPtr<int32_t> slides, Export::SaveFormat format)=0
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | Output stream. |
slides | System::ArrayPtr<int32_t> | Array with slide positions, starting from 1. |
format | Export::SaveFormat | Format of the exported data. |
IPresentation::Save(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>) method
Saves specified slides of a presentation to a stream in the specified format.
virtual void Aspose::Slides::IPresentation::Save(System::SharedPtr<System::IO::Stream> stream, System::ArrayPtr<int32_t> slides, Export::SaveFormat format, System::SharedPtr<Export::ISaveOptions> options)=0
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | Output stream. |
slides | System::ArrayPtr<int32_t> | Array with slide positions, starting from 1. |
format | Export::SaveFormat | Format of the exported data. |
options | System::SharedPtr<Export::ISaveOptions> | Additional format options. |
IPresentation::Save(System::SharedPtr<Export::Xaml::IXamlOptions>) method
Saves all slides of a presentation to a set of files representing XAML markup.
virtual void Aspose::Slides::IPresentation::Save(System::SharedPtr<Export::Xaml::IXamlOptions> options)=0
Arguments
Parameter | Type | Description |
---|---|---|
options | System::SharedPtr<Export::Xaml::IXamlOptions> | The XAML format options. |
Remarks
auto pres = System::MakeObject<Presentation>(u"pres.pptx");
SharedPtr<IXamlOptions> options = System::MakeObject<XamlOptions>();
options->set_ExportHiddenSlides(true);
pres->Save(options);
IPresentation::Save(System::String, Export::SaveFormat, System::SharedPtr<System::Web::HttpResponse>, bool) method
Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide.
virtual void Aspose::Slides::IPresentation::Save(System::String fname, Export::SaveFormat format, System::SharedPtr<System::Web::HttpResponse> response, bool showInline)=0
Arguments
Parameter | Type | Description |
---|---|---|
fname | System::String | The name for the presentation that will appear at the client browser. The name should not contain path. |
format | Export::SaveFormat | Format of the exported data. |
response | System::SharedPtr<System::Web::HttpResponse> | Response object where to save the document. |
showInline | bool | True to show an option to open the presentation inside the browser. |
- Deprecated
- The method will be removed after release of version 24.7.
IPresentation::Save(System::String, Export::SaveFormat, System::SharedPtr<Export::ISaveOptions>, System::SharedPtr<System::Web::HttpResponse>, bool) method
Sends the presentation to the client browser. This method is absent in ClientProfile versions of Aspose.Slide.
virtual void Aspose::Slides::IPresentation::Save(System::String fname, Export::SaveFormat format, System::SharedPtr<Export::ISaveOptions> options, System::SharedPtr<System::Web::HttpResponse> response, bool showInline)=0
Arguments
Parameter | Type | Description |
---|---|---|
fname | System::String | The name for the presentation that will appear at the client browser. The name should not contain path. |
format | Export::SaveFormat | Format of the exported data. |
options | System::SharedPtr<Export::ISaveOptions> | Additional format options. |
response | System::SharedPtr<System::Web::HttpResponse> | Response object where to save the document. |
showInline | bool | True to show an option to open the presentation inside the browser. |
- Deprecated
- The method will be removed after release of version 24.7.
See Also
- Enum SaveFormat
- Typedef SharedPtr
- Typedef ArrayPtr
- Class String
- Class IPresentation
- Class Stream
- Class ISaveOptions
- Class IXamlOptions
- Class HttpResponse
- Namespace Aspose::Slides
- Library Aspose.Slides