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

ParameterTypeDescription
fnameSystem::StringPath to the created file.
formatExport::SaveFormatFormat 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

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Output stream.
formatExport::SaveFormatFormat 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

ParameterTypeDescription
fnameSystem::StringPath to the created file.
formatExport::SaveFormatFormat of the exported data.
optionsSystem::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

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Output stream.
formatExport::SaveFormatFormat of the exported data.
optionsSystem::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

ParameterTypeDescription
fnameSystem::StringPath to the created file.
slidesSystem::ArrayPtr<int32_t>Array with slide positions, starting from 1.
formatExport::SaveFormatFormat 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

ParameterTypeDescription
fnameSystem::StringPath to the created file.
slidesSystem::ArrayPtr<int32_t>Array with slide positions, starting from 1.
formatExport::SaveFormatFormat of the exported data.
optionsSystem::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

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Output stream.
slidesSystem::ArrayPtr<int32_t>Array with slide positions, starting from 1.
formatExport::SaveFormatFormat 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

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Output stream.
slidesSystem::ArrayPtr<int32_t>Array with slide positions, starting from 1.
formatExport::SaveFormatFormat of the exported data.
optionsSystem::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

ParameterTypeDescription
optionsSystem::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

ParameterTypeDescription
fnameSystem::StringThe name for the presentation that will appear at the client browser. The name should not contain path.
formatExport::SaveFormatFormat of the exported data.
responseSystem::SharedPtr<System::Web::HttpResponse>Response object where to save the document.
showInlineboolTrue 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

ParameterTypeDescription
fnameSystem::StringThe name for the presentation that will appear at the client browser. The name should not contain path.
formatExport::SaveFormatFormat of the exported data.
optionsSystem::SharedPtr<Export::ISaveOptions>Additional format options.
responseSystem::SharedPtr<System::Web::HttpResponse>Response object where to save the document.
showInlineboolTrue 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