ToPdf

ToPdf(string, string)

Konvertiert Presentation in PDF.

public static void ToPdf(string presPath, string outPath)
ParameterTypBeschreibung
presPathStringPfad der Eingabepräsentation
outPathStringAusgabepfad

Beispiele

Convert.ToPdf("pres.pptx", "pres.pdf");

Siehe Auch


ToPdf(string, string, IPdfOptions)

Konvertiert Presentation in PDF.

public static void ToPdf(string presPath, string outPath, IPdfOptions options)
ParameterTypBeschreibung
presPathStringPfad der Eingabepräsentation
outPathStringAusgabepfad
optionsIPdfOptionsOptionen für die Ausgabepdf

Beispiele

Convert.ToPdf("pres.pptx", "pres.pdf", new PdfOptions{ Compliance = PdfCompliance.PdfUa });

Siehe Auch


ToPdf(Presentation, string)

Konvertiert Presentation in PDF.

public static void ToPdf(Presentation pres, string outPath)
ParameterTypBeschreibung
presPresentationEingabepräsentation
outPathStringAusgabepfad

Beispiele

using (Presentation pres = new Presentation("input.pptx"))    
{
    Convert.ToPdf(pres, "output.pdf");
} 

Siehe Auch


ToPdf(Presentation, string, IPdfOptions)

Konvertiert Presentation in PDF.

public static void ToPdf(Presentation pres, string outPath, IPdfOptions options)
ParameterTypBeschreibung
presPresentationEingabepräsentation
outPathStringAusgabepfad
optionsIPdfOptionsOptionen für die Ausgabepdf

Beispiele

using (Presentation pres = new Presentation("input.pptx"))    
{
    Convert.ToPdf(pres, "output.pdf", new PdfOptions{ Compliance = PdfCompliance.PdfUa });
} 

Siehe Auch