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.jpeg" files, where N is a slide number.
public static void Process(string inputFileName)
  Parameters
inputFileNamestringThe name of the input presentation file.
Examples
PresentationToJpegConverter.Process("pres.pptx");
  Exceptions
Process(string, 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.
public static void Process(string inputFileName, string outputFileName)
  Parameters
inputFileNamestringThe name of the input presentation file.
outputFileNamestringThe output file name.
Examples
PresentationToJpegConverter.Process("pres.pptx", "pres.jpeg");
  Exceptions
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.jpeg", the result will be saved as a set of "myPath/myFilename_N.jpeg" files, where N is a slide number.
public static void Process(string inputFileName, string outputFileName, ImageConverterOptions options)
  Parameters
inputFileNamestringThe name of the input presentation file.
outputFileNamestringThe output file name.
optionsImageConverterOptionsImage converter options.
Examples
[C#]
ImageConverterOptions options = new ImageConverterOptions
{
    ImageScale = 2f
};
PresentationToJpegConverter.Process("pres.pptx", "pres.jpeg", options);