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
inputFileName
stringThe 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
inputFileName
stringThe name of the input presentation file.
outputFileName
stringThe 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
inputFileName
stringThe name of the input presentation file.
outputFileName
stringThe output file name.
options
SvgConverterOptionsSVG converter options.
Examples
PresentationToSvgConverter.Process("pres.pptx", "pres.svg", new SvgConverterOptions{ VectorizeText = true });