Table of Contents

Class PresentationToPngConverter

Namespace
Slidize
Assembly
Slidize.Plugins.dll

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

public static class PresentationToPngConverter
Inheritance
PresentationToPngConverter
Inherited Members

Methods

Process(string)

Converts the input presentation to a set of PNG 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.png" files, where N is a slide number.

public static void Process(string inputFileName)

Parameters

inputFileName string

The name of the input presentation file.

Examples

PresentationToPngConverter.Process("pres.pptx");

Exceptions

ArgumentException

Process(string, 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.

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

PresentationToPngConverter.Process("pres.pptx", "pres.png");

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.png", the result will be saved as a set of "myPath/myFilename_N.png" 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
};
PresentationToPngConverter.Process("pres.pptx", "pres.png", options);

Exceptions

ArgumentException