ToSvg

ToSvg(string)

Convierte Presentation a SVG.

public static void ToSvg(string presPath)
ParámetroTipoDescripción
presPathStringRuta de la presentación de entrada

Ejemplos

Convert.ToSvg("pres.pptx");

Véase también


ToSvg(string, GetOutPathCallback)

Convierte Presentation a SVG.

public static void ToSvg(string presPath, GetOutPathCallback getOutPath)
ParámetroTipoDescripción
presPathStringRuta de la presentación de entrada
getOutPathGetOutPathCallbackCallback que devuelve la ruta de salida SVG para cada diapositiva en la presentación

Ejemplos

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

Véase también


ToSvg(Presentation, GetOutPathCallback)

Convierte Presentation a SVG.

public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath)
ParámetroTipoDescripción
presPresentationPresentación de entrada
getOutPathGetOutPathCallbackCallback que devuelve la ruta de salida SVG para cada diapositiva en la presentación

Ejemplos

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

Véase también


ToSvg(Presentation, ISVGOptions)

Convierte Presentation a SVG.

public static void ToSvg(Presentation pres, ISVGOptions options)
ParámetroTipoDescripción
presPresentationPresentación de entrada
optionsISVGOptionsOpciones de exportación SVG

Ejemplos

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

Véase también


ToSvg(Presentation, GetOutPathCallback, ISVGOptions)

Convierte Presentation a SVG.

public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath, ISVGOptions options)
ParámetroTipoDescripción
presPresentationPresentación de entrada
getOutPathGetOutPathCallbackCallback que devuelve la ruta de salida SVG para cada diapositiva en la presentación
optionsISVGOptionsOpciones de exportación SVG

Ejemplos

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

Véase también