Class PresentationToSvgConverter
- Namespace
- Slidize
- Assembly
- Slidize.Plugins.dll
Plugin for converting the PowerPoint 97-2003 and Microsoft Office Open XML presentations into a set of SVG format images.
public static class PresentationToSvgConverter
- Inheritance
-
PresentationToSvgConverter
- Inherited Members
Methods
Process(string)
Converts the input presentation to a set of SVG 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.svg" files, where N is a slide number.
public static void Process(string inputFileName)
Parameters
inputFileNamestringThe name of the input presentation file.
Examples
PresentationToSvgConverter.Process("pres.pptx", "pres.svg");
Exceptions
Process(string, string)
Converts the input presentation to a set of SVG format images.
If the output file name is given as "myPath/myFilename.svg",
the result will be saved as a set of "myPath/myFilename_N.svg" 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
PresentationToSvgConverter.Process("pres.pptx", "pres.svg");
Exceptions
Process(string, string, SvgConverterOptions)
Converts the input presentation to a set of SVG format images with custom options. If the output file name is given as "myPath/myFilename.svg", the result will be saved as a set of "myPath/myFilename_N.svg" files, where N is a slide number.
public static void Process(string inputFileName, string outputFileName, SvgConverterOptions options)
Parameters
inputFileNamestringThe name of the input presentation file.
outputFileNamestringThe output file name.
optionsSvgConverterOptionsSVG converter options.
Examples
PresentationToSvgConverter.Process("pres.pptx", "pres.svg", new SvgConverterOptions{ VectorizeText = true });