Convert

Convert class

Represents a group of methods intended to convert Presentation.

public static class Convert

Methods

NameDescription
static AutoByExtension(string, string)Converts Presentation using the passed output path extension to determine the required export format.
static ToJpeg(Presentation, 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 ToJpeg(Presentation, string, 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 ToJpeg(Presentation, string, float, 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 ToPdf(Presentation, string)Converts Presentation to PDF.
static ToPdf(string, string)Converts Presentation to PDF.
static ToPdf(Presentation, string, IPdfOptions)Converts Presentation to PDF.
static ToPdf(string, string, IPdfOptions)Converts Presentation to PDF.
static ToPng(Presentation, 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 ToPng(Presentation, string, 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 ToPng(Presentation, string, float, 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 ToSvg(string)Converts Presentation to SVG.
static ToSvg(Presentation, GetOutPathCallback)Converts Presentation to SVG.
static ToSvg(Presentation, ISVGOptions)Converts Presentation to SVG.
static ToSvg(string, GetOutPathCallback)Converts Presentation to SVG.
static ToSvg(Presentation, GetOutPathCallback, ISVGOptions)Converts Presentation to SVG.
static ToTiff(Presentation, 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 ToTiff(Presentation, string, 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.

Other Members

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

Examples

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

See Also