Convert

Convert class

Represents a group of methods intended to convert Presentation.

class Convert

Methods

MethodDescription
static void AutoByExtension(System::String, System::String)Converts Presentation using the passed output path extension to determine the required export format.
Convert()
static void ToJpeg(System::SharedPtr<Presentation>, System::String)Converts the input presentation to a set of JPEG format images.

If the output file name is given as "myPath/myFilename.jpeg", the result will be saved as a set of "myPath/myFilename_N.jpeg" files, where N is a slide number. | | static void ToJpeg(System::SharedPtr<Presentation>, System::String, System::Drawing::Size) | Converts the input presentation to a set of JPEG format images.

If the output file name is given as "myPath/myFilename.jpeg", the result will be saved as a set of "myPath/myFilename_N.jpeg" files, where N is a slide number. | | static void ToJpeg(System::SharedPtr<Presentation>, System::String, float, System::SharedPtr<Aspose::Slides::Export::IRenderingOptions>) | Converts the input presentation to a set of JPEG format images.

If the output file name is given as "myPath/myFilename.jpeg", the result will be saved as a set of "myPath/myFilename_N.jpeg" files, where N is a slide number. | | static void ToPdf(System::String, System::String) | Converts Presentation to PDF. | | static void ToPdf(System::String, System::String, System::SharedPtr<Aspose::Slides::Export::IPdfOptions>) | Converts Presentation to PDF. | | static void ToPdf(System::SharedPtr<Presentation>, System::String) | Converts Presentation to PDF. | | static void ToPdf(System::SharedPtr<Presentation>, System::String, System::SharedPtr<Aspose::Slides::Export::IPdfOptions>) | Converts Presentation to PDF. | | static void ToPng(System::SharedPtr<Presentation>, System::String) | Converts the input presentation to a set of PNG format images.

If the output file name is given as "myPath/myFilename.png", the result will be saved as a set of "myPath/myFilename_N.png" files, where N is a slide number. | | static void ToPng(System::SharedPtr<Presentation>, System::String, System::Drawing::Size) | Converts the input presentation to a set of PNG format images.

If the output file name is given as "myPath/myFilename.png", the result will be saved as a set of "myPath/myFilename_N.png" files, where N is a slide number. | | static void ToPng(System::SharedPtr<Presentation>, System::String, float, System::SharedPtr<Aspose::Slides::Export::IRenderingOptions>) | Converts the input presentation to a set of PNG format images.

If the output file name is given as "myPath/myFilename.png", the result will be saved as a set of "myPath/myFilename_N.png" files, where N is a slide number. | | static void ToSvg(System::String) | Converts Presentation to SVG. | | static void ToSvg(System::String, Convert::GetOutPathCallback) | Converts Presentation to SVG. | | static void ToSvg(System::SharedPtr<Presentation>, Convert::GetOutPathCallback) | Converts Presentation to SVG. | | static void ToSvg(System::SharedPtr<Presentation>, System::SharedPtr<Aspose::Slides::Export::ISVGOptions>) | Converts Presentation to SVG. | | static void ToSvg(System::SharedPtr<Presentation>, Convert::GetOutPathCallback, System::SharedPtr<Aspose::Slides::Export::ISVGOptions>) | Converts Presentation to SVG. | | static void ToTiff(System::SharedPtr<Presentation>, System::String) | Converts the input presentation to a set of TIFF format images.

If the output file name is given as "myPath/myFilename.tiff", the result will be saved as a set of "myPath/myFilename_N.tiff" files, where N is a slide number. | | static void ToTiff(System::SharedPtr<Presentation>, System::String, System::SharedPtr<Aspose::Slides::Export::ITiffOptions>, bool) | Converts the input presentation to TIFF format with custom options. If the output file name is given as "myPath/myFilename.tiff" and multipage is false, the result will be saved as a set of "myPath/myFilename_N.tiff" files, where N is a slide number. Otherwise, if multipage is true, the result will be a multi-page "myPath/myFilename.tiff" document. |

Typedefs

TypedefDescription
GetOutPathCallbackCallback that will be invoked for each Slide, the output path expected to be returned.

Remarks

Convert::AutoByExtension(u"pres.pptx", u"pres.pdf");

See Also