ToSvg

ToSvg(string)

Converts Presentation to SVG.

public static void ToSvg(string presPath)
ParameterTypeDescription
presPathStringPath of the input presentation

Examples

Convert.ToSvg("pres.pptx");

See Also


ToSvg(string, GetOutPathCallback)

Converts Presentation to SVG.

public static void ToSvg(string presPath, GetOutPathCallback getOutPath)
ParameterTypeDescription
presPathStringPath of the input presentation
getOutPathGetOutPathCallbackCallback that returns the SVG output path for each slide in the presentation

Examples

Convert.ToSvg("pres.pptx", (slide, index) => $"pres_{index}-out.svg");

See Also


ToSvg(Presentation, GetOutPathCallback)

Converts Presentation to SVG.

public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath)
ParameterTypeDescription
presPresentationInput presentation
getOutPathGetOutPathCallback>Callback that returns the SVG output path for each slide in the presentation

Examples

using (Presentation pres = new Presentation("input.pptx"))    
{
    Convert.ToSvg(pres, (slide, index) => $"pres_{index}-out.svg");
} 

See Also


ToSvg(Presentation, ISVGOptions)

Converts Presentation to SVG.

public static void ToSvg(Presentation pres, ISVGOptions options)
ParameterTypeDescription
presPresentationInput presentation
optionsISVGOptionsSVG export options

Examples

using (Presentation pres = new Presentation("input.pptx"))    
{
    Convert.ToSvg(pres, new SVGOptions { VectorizeText = true });
}  

See Also


ToSvg(Presentation, GetOutPathCallback, ISVGOptions)

Converts Presentation to SVG.

public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath, ISVGOptions options)
ParameterTypeDescription
presPresentationInput presentation
getOutPathGetOutPathCallbackCallback that returns the SVG output path for each slide in the presentation
optionsISVGOptionsSVG export options

Examples

using (Presentation pres = new Presentation("input.pptx"))    
{
    Convert.ToSvg(pres, (slide, index) => $"pres_{index}-out.svg", new SVGOptions { VectorizeText = true });
} 

See Also