Table of Contents

Class PresentationToJpegConverter

Namespace
Slidize
Assembly
Slidize.Plugins.dll

Plugin for converting the PowerPoint 97-2003 and Microsoft Office Open XML presentations into a set of JPEG images.

public static class PresentationToJpegConverter
Inheritance
PresentationToJpegConverter
Inherited Members

Methods

Process(string)

Converts the input presentation to a set of JPEG format images and saves them in the folder of the input presentation. If the input file name is given as "myPath/myFilename.pptx", the result will be saved as a set of "myPath/myFilename_N.jpg" files, where N is a slide number.

public static void Process(string inputFileName)

Parameters

inputFileName string

The name of the input presentation file.

Examples

PresentationToJpegConverter.Process("pres.pptx");

Exceptions

ArgumentException

Process(string, string)

Converts the input presentation to a set of JPEG format images.
If the output file name is given as "myPath/myFilename.jpg", the result will be saved as a set of "myPath/myFilename_N.jpg" files, where N is a slide number.

public static void Process(string inputFileName, string outputFileName)

Parameters

inputFileName string

The name of the input presentation file.

outputFileName string

The output file name.

Examples

PresentationToJpegConverter.Process("pres.pptx", "pres.jpg");

Exceptions

ArgumentException

Process(string, string, ImageConverterOptions)

Converts the input presentation to a set of PNG format images with custom options. If the output file name is given as "myPath/myFilename.jpg", the result will be saved as a set of "myPath/myFilename_N.jpg" files, where N is a slide number.

public static void Process(string inputFileName, string outputFileName, ImageConverterOptions options)

Parameters

inputFileName string

The name of the input presentation file.

outputFileName string

The output file name.

options ImageConverterOptions

Image converter options.

Examples

[C#]
ImageConverterOptions options = new ImageConverterOptions
{
    ImageScale = 2f
};
PresentationToJpegConverter.Process("pres.pptx", "pres.jpg", options);

Exceptions

ArgumentException