Class PresentationToTiffConverter
- Namespace
- Slidize
- Assembly
- Slidize.Plugins.dll
Plugin for converting the PowerPoint 97-2003 and Microsoft Office Open XML presentations into a set of TIFF images.
public static class PresentationToTiffConverter
- Inheritance
-
PresentationToTiffConverter
- Inherited Members
Methods
Process(string)
Converts the input presentation to a set of TIFF 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.tiff" files, where N is a slide number.
public static void Process(string inputFileName)
Parameters
inputFileNamestringThe name of the input presentation file.
Examples
PresentationToPngConverter.Process("pres.pptx");
Exceptions
Process(string, string)
Converts the input presentation to a set of TIFF 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.
public static void Process(string inputFileName, string outputFileName)
Parameters
inputFileNamestringThe name of the input presentation file.
outputFileNamestringThe output file name.
Examples
PresentationToTiffConverter.Process("pres.pptx", "pres.tiff");
Exceptions
Process(string, string, TiffConverterOptions)
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.
public static void Process(string inputFileName, string outputFileName, TiffConverterOptions options)
Parameters
inputFileNamestringThe name of the input presentation file.
outputFileNamestringThe output file name.
optionsTiffConverterOptionsTIFF converter options.
Examples
PresentationToTiffConverter.Process("pres.pptx", "pres.tiff", new TiffConverterOptions { CompressionType = TiffCompressionTypes.CCITT3 });