ToPdf
Contents
[
Hide
]ToPdf(string, string)
Converts Presentation
to PDF.
public static void ToPdf(string presPath, string outPath)
Parameter | Type | Description |
---|---|---|
presPath | String | Path of the input presentation |
outPath | String | Output path |
Examples
Convert.ToPdf("pres.pptx", "pres.pdf");
See Also
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides
ToPdf(string, string, IPdfOptions)
Converts Presentation
to PDF.
public static void ToPdf(string presPath, string outPath, IPdfOptions options)
Parameter | Type | Description |
---|---|---|
presPath | String | Path of the input presentation |
outPath | String | Output path |
options | IPdfOptions | Output PDF options |
Examples
Convert.ToPdf("pres.pptx", "pres.pdf", new PdfOptions{ Compliance = PdfCompliance.PdfUa });
See Also
- interface IPdfOptions
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides
ToPdf(Presentation, string)
Converts Presentation
to PDF.
public static void ToPdf(Presentation pres, string outPath)
Parameter | Type | Description |
---|---|---|
pres | Presentation | Input presentation |
outPath | String | Output path |
Examples
using (Presentation pres = new Presentation("input.pptx"))
{
Convert.ToPdf(pres, "output.pdf");
}
See Also
- class Presentation
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides
ToPdf(Presentation, string, IPdfOptions)
Converts Presentation
to PDF.
public static void ToPdf(Presentation pres, string outPath, IPdfOptions options)
Parameter | Type | Description |
---|---|---|
pres | Presentation | Input presentation |
outPath | String | Output path |
options | IPdfOptions | Output PDF options |
Examples
using (Presentation pres = new Presentation("input.pptx"))
{
Convert.ToPdf(pres, "output.pdf", new PdfOptions{ Compliance = PdfCompliance.PdfUa });
}
See Also
- class Presentation
- interface IPdfOptions
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides