ToSvg

ToSvg(string)

Konvertiert Presentation in SVG.

public static void ToSvg(string presPath)  
ParameterTypBeschreibung
presPathStringPfad der Eingab präsentation

Beispiele

Convert.ToSvg("pres.pptx");  

Siehe auch


ToSvg(string, GetOutPathCallback)

Konvertiert Presentation in SVG.

public static void ToSvg(string presPath, GetOutPathCallback getOutPath)  
ParameterTypBeschreibung
presPathStringPfad der Eingab präsentation
getOutPathGetOutPathCallbackCallback, der den SVG-Ausgabepfad für jede Folie in der Präsentation zurückgibt

Beispiele

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

Siehe auch


ToSvg(Presentation, GetOutPathCallback)

Konvertiert Presentation in SVG.

public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath)  
ParameterTypBeschreibung
presPresentationEingab präsentation
getOutPathGetOutPathCallback>Callback, der den SVG-Ausgabepfad für jede Folie in der Präsentation zurückgibt

Beispiele

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

Siehe auch


ToSvg(Presentation, ISVGOptions)

Konvertiert Presentation in SVG.

public static void ToSvg(Presentation pres, ISVGOptions options)  
ParameterTypBeschreibung
presPresentationEingab präsentation
optionsISVGOptionsSVG-Exportoptionen

Beispiele

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

Siehe auch


ToSvg(Presentation, GetOutPathCallback, ISVGOptions)

Konvertiert Presentation in SVG.

public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath, ISVGOptions options)  
ParameterTypBeschreibung
presPresentationEingab präsentation
getOutPathGetOutPathCallbackCallback, der den SVG-Ausgabepfad für jede Folie in der Präsentation zurückgibt
optionsISVGOptionsSVG-Exportoptionen

Beispiele

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

Siehe auch